pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.yc</groupId>
  5. <artifactId>maojia</artifactId>
  6. <packaging>war</packaging>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>maojia Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <!-- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> -->
  12. <!-- MyBatis Generator -->
  13. <!-- Java接口和实体类 -->
  14. <targetJavaProject>${basedir}/src/main/java</targetJavaProject>
  15. <targetMapperPackage>com.yc.education.mapper</targetMapperPackage>
  16. <targetModelPackage>com.yc.education.model</targetModelPackage>
  17. <!-- XML生成路径 -->
  18. <targetResourcesProject>${basedir}/src/main/resources</targetResourcesProject>
  19. <targetXMLPackage>mapper</targetXMLPackage>
  20. <!-- 编译jdk版本 -->
  21. <jdk.version>1.8</jdk.version>
  22. <!-- 依赖版本 -->
  23. <mybatis.version>3.3.1</mybatis.version>
  24. <mapper.version>3.3.6</mapper.version>
  25. <pagehelper.version>4.1.1</pagehelper.version>
  26. <mysql.version>5.1.29</mysql.version>
  27. <spring.version>4.1.2.RELEASE</spring.version>
  28. <mybatis.spring.version>1.2.4</mybatis.spring.version>
  29. </properties>
  30. <dependencies>
  31. <dependency>
  32. <groupId>jexcelapi</groupId>
  33. <artifactId>jxl</artifactId>
  34. <version>2.6</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>junit</groupId>
  38. <artifactId>junit</artifactId>
  39. <version>4.11</version>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>log4j</groupId>
  44. <artifactId>log4j</artifactId>
  45. <version>1.2.17</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.github.liyiorg</groupId>
  49. <artifactId>weixin-popular</artifactId>
  50. <version>2.8.24</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.poi</groupId>
  54. <artifactId>poi</artifactId>
  55. <version>3.9</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.poi</groupId>
  59. <artifactId>poi-ooxml</artifactId>
  60. <version>3.9</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>jexcelapi</groupId>
  64. <artifactId>jxl</artifactId>
  65. <version>2.6</version>
  66. </dependency>
  67. <!-- http client -->
  68. <dependency>
  69. <groupId>org.apache.httpcomponents</groupId>
  70. <artifactId>httpclient</artifactId>
  71. <version>4.5.1</version>
  72. </dependency>
  73. <!-- json -->
  74. <dependency>
  75. <groupId>org.json</groupId>
  76. <artifactId>org.json</artifactId>
  77. <version>chargebee-1.0</version>
  78. </dependency>
  79. <!--web -->
  80. <dependency>
  81. <groupId>javax.servlet</groupId>
  82. <artifactId>servlet-api</artifactId>
  83. <version>2.5</version>
  84. <scope>provided</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>javax.servlet.jsp</groupId>
  88. <artifactId>jsp-api</artifactId>
  89. <version>2.1</version>
  90. <scope>provided</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>javax.servlet</groupId>
  94. <artifactId>jstl</artifactId>
  95. <version>1.2</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>javax.ws.rs</groupId>
  99. <artifactId>javax.ws.rs-api</artifactId>
  100. <version>2.0</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>javax.websocket</groupId>
  104. <artifactId>javax.websocket-api</artifactId>
  105. <version>1.0</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>javax.annotation</groupId>
  109. <artifactId>javax.annotation-api</artifactId>
  110. <version>1.2</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>javax.transaction</groupId>
  114. <artifactId>javax.transaction-api</artifactId>
  115. <version>1.2</version>
  116. </dependency>
  117. <!--Spring -->
  118. <dependency>
  119. <groupId>org.springframework</groupId>
  120. <artifactId>spring-context</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.springframework</groupId>
  124. <artifactId>spring-orm</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.springframework</groupId>
  128. <artifactId>spring-oxm</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework</groupId>
  132. <artifactId>spring-jdbc</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework</groupId>
  136. <artifactId>spring-tx</artifactId>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework</groupId>
  140. <artifactId>spring-web</artifactId>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.springframework</groupId>
  144. <artifactId>spring-webmvc</artifactId>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.springframework</groupId>
  148. <artifactId>spring-aop</artifactId>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework</groupId>
  152. <artifactId>spring-test</artifactId>
  153. </dependency>
  154. <!--spring-oxm依赖 -->
  155. <dependency>
  156. <groupId>org.codehaus.castor</groupId>
  157. <artifactId>castor-xml</artifactId>
  158. <version>1.3.3</version>
  159. </dependency>
  160. <!--spring-json依赖 -->
  161. <dependency>
  162. <groupId>com.fasterxml.jackson.core</groupId>
  163. <artifactId>jackson-databind</artifactId>
  164. <version>2.4.2</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.fasterxml.jackson.dataformat</groupId>
  168. <artifactId>jackson-dataformat-xml</artifactId>
  169. <version>2.4.2</version>
  170. </dependency>
  171. <!--spring-aop依赖 -->
  172. <dependency>
  173. <groupId>org.aspectj</groupId>
  174. <artifactId>aspectjweaver</artifactId>
  175. <version>1.8.2</version>
  176. </dependency>
  177. <!--上传文件 -->
  178. <dependency>
  179. <groupId>commons-fileupload</groupId>
  180. <artifactId>commons-fileupload</artifactId>
  181. <version>1.3.1</version>
  182. </dependency>
  183. <!--mysql -->
  184. <dependency>
  185. <groupId>mysql</groupId>
  186. <artifactId>mysql-connector-java</artifactId>
  187. <version>${mysql.version}</version>
  188. </dependency>
  189. <!--druid -->
  190. <dependency>
  191. <groupId>com.alibaba</groupId>
  192. <artifactId>druid</artifactId>
  193. <version>1.0.11</version>
  194. </dependency>
  195. <!-- ant -->
  196. <dependency>
  197. <groupId>org.apache.ant</groupId>
  198. <artifactId>ant</artifactId>
  199. <version>1.9.7</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>net.sf.json-lib</groupId>
  203. <artifactId>json-lib-ext-spring</artifactId>
  204. <version>1.0.2</version>
  205. </dependency>
  206. <!--Mybatis -->
  207. <dependency>
  208. <groupId>org.mybatis</groupId>
  209. <artifactId>mybatis</artifactId>
  210. <version>${mybatis.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.mybatis</groupId>
  214. <artifactId>mybatis-spring</artifactId>
  215. <version>${mybatis.spring.version}</version>
  216. </dependency>
  217. <!-- Mybatis Generator -->
  218. <dependency>
  219. <groupId>org.mybatis.generator</groupId>
  220. <artifactId>mybatis-generator-core</artifactId>
  221. <version>1.3.2</version>
  222. <scope>compile</scope>
  223. <optional>true</optional>
  224. </dependency>
  225. <!--分页插件 -->
  226. <dependency>
  227. <groupId>com.github.pagehelper</groupId>
  228. <artifactId>pagehelper</artifactId>
  229. <version>${pagehelper.version}</version>
  230. </dependency>
  231. <!--通用Mapper -->
  232. <dependency>
  233. <groupId>tk.mybatis</groupId>
  234. <artifactId>mapper</artifactId>
  235. <version>${mapper.version}</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>commons-codec</groupId>
  239. <artifactId>commons-codec</artifactId>
  240. <version>1.10</version>
  241. </dependency>
  242. <!-- 二维码 -->
  243. <dependency>
  244. <groupId>com.google.zxing</groupId>
  245. <artifactId>core</artifactId>
  246. <version>3.2.1</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>com.google.zxing</groupId>
  250. <artifactId>javase</artifactId>
  251. <version>3.2.1</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>dom4j</groupId>
  255. <artifactId>dom4j</artifactId>
  256. <version>1.6.1</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>commons-httpclient</groupId>
  260. <artifactId>commons-httpclient</artifactId>
  261. <version>3.1</version>
  262. </dependency>
  263. </dependencies>
  264. <dependencyManagement>
  265. <dependencies>
  266. <dependency>
  267. <groupId>org.springframework</groupId>
  268. <artifactId>spring-framework-bom</artifactId>
  269. <version>${spring.version}</version>
  270. <type>pom</type>
  271. <scope>import</scope>
  272. </dependency>
  273. </dependencies>
  274. </dependencyManagement>
  275. <build>
  276. <resources>
  277. <resource>
  278. <directory>${basedir}/src/main/java</directory>
  279. <includes>
  280. <include>**/*.xml</include>
  281. </includes>
  282. </resource>
  283. <resource>
  284. <directory>${basedir}/src/main/resources</directory>
  285. </resource>
  286. </resources>
  287. <plugins>
  288. <plugin>
  289. <!-- <groupId>org.apache.maven.plugins</groupId> -->
  290. <artifactId>maven-compiler-plugin</artifactId>
  291. <configuration>
  292. <source>${jdk.version}</source>
  293. <target>${jdk.version}</target>
  294. <encoding>UTF-8</encoding>
  295. <compilerArguments>
  296. <verbose/>
  297. <bootclasspath>${java.home}/lib/rt.jar;${java.home}/lib/jce.jar</bootclasspath>
  298. </compilerArguments>
  299. </configuration>
  300. </plugin>
  301. <plugin>
  302. <groupId>org.mybatis.generator</groupId>
  303. <artifactId>mybatis-generator-maven-plugin</artifactId>
  304. <version>1.3.2</version>
  305. <configuration>
  306. <configurationFile>${basedir}/src/main/resources/generator/generatorConfig.xml</configurationFile>
  307. <overwrite>true</overwrite>
  308. <verbose>true</verbose>
  309. </configuration>
  310. <dependencies>
  311. <dependency>
  312. <groupId>mysql</groupId>
  313. <artifactId>mysql-connector-java</artifactId>
  314. <version>${mysql.version}</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>tk.mybatis</groupId>
  318. <artifactId>mapper</artifactId>
  319. <version>${mapper.version}</version>
  320. </dependency>
  321. </dependencies>
  322. </plugin>
  323. </plugins>
  324. </build>
  325. </project>