pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.yc</groupId>
  6. <artifactId>skfqr</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <name>skfqr Maven Webapp</name>
  10. <!-- FIXME change it to the project's website -->
  11. <url>http://www.example.com</url>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <!-- MyBatis Generator -->
  15. <!-- Java接口和实体类 -->
  16. <targetJavaProject>${basedir}/src/main/java</targetJavaProject>
  17. <targetMapperPackage>com.yc.education.mapper</targetMapperPackage>
  18. <targetModelPackage>com.yc.education.model</targetModelPackage>
  19. <!-- XML生成路径 -->
  20. <targetResourcesProject>${basedir}/src/main/resources</targetResourcesProject>
  21. <targetXMLPackage>mapper</targetXMLPackage>
  22. <!-- 编译jdk版本 -->
  23. <jdk.version>1.8</jdk.version>
  24. <!-- 依赖版本 -->
  25. <mybatis.version>3.3.1</mybatis.version>
  26. <mapper.version>3.3.6</mapper.version>
  27. <pagehelper.version>4.1.1</pagehelper.version>
  28. <mysql.version>5.1.29</mysql.version>
  29. <spring.version>4.1.2.RELEASE</spring.version>
  30. <mybatis.spring.version>1.2.4</mybatis.spring.version>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>com.aliyun</groupId>
  35. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  36. <version>1.0.0</version>
  37. </dependency>
  38. <!-- xStream完美转换XML、JSON -->
  39. <dependency>
  40. <groupId>xstream</groupId>
  41. <artifactId>xstream</artifactId>
  42. <version>1.2.2</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.jdom</groupId>
  46. <artifactId>jdom</artifactId>
  47. <version>2.0.2</version>
  48. </dependency>
  49. <!-- 阿里云短信jar包 -->
  50. <dependency>
  51. <groupId>com.aliyun</groupId>
  52. <artifactId>aliyun-java-sdk-core</artifactId>
  53. <version>2.4.2</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.aliyun</groupId>
  57. <artifactId>aliyun-java-sdk-sms</artifactId>
  58. <version>3.0.0-rc1</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.alibaba</groupId>
  62. <artifactId>fastjson</artifactId>
  63. <version>1.2.15</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.httpcomponents</groupId>
  67. <artifactId>httpcore</artifactId>
  68. <version>4.2.1</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>commons-lang</groupId>
  72. <artifactId>commons-lang</artifactId>
  73. <version>2.6</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.eclipse.jetty</groupId>
  77. <artifactId>jetty-util</artifactId>
  78. <version>9.3.7.v20160115</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>junit</groupId>
  82. <artifactId>junit</artifactId>
  83. <version>4.5</version>
  84. <scope>test</scope>
  85. </dependency>
  86. <!-- Spring 定时器 start -->
  87. <dependency>
  88. <groupId>org.quartz-scheduler</groupId>
  89. <artifactId>quartz</artifactId>
  90. <version>1.8.4</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework</groupId>
  94. <artifactId>spring-context-support</artifactId>
  95. <version>3.2.4.RELEASE</version><!--$NO-MVN-MAN-VER$ -->
  96. </dependency>
  97. <!-- Spring 定时器 end -->
  98. <!-- email邮件发送依赖 Lock-玄清 -->
  99. <dependency>
  100. <groupId>javax.mail</groupId>
  101. <artifactId>mail</artifactId>
  102. <version>1.4.7</version>
  103. </dependency>
  104. <!-- 表格导入导出jar包 -->
  105. <dependency>
  106. <groupId>org.apache.poi</groupId>
  107. <artifactId>poi</artifactId>
  108. <version>3.9</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.poi</groupId>
  112. <artifactId>poi-ooxml</artifactId>
  113. <version>3.9</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>jexcelapi</groupId>
  117. <artifactId>jxl</artifactId>
  118. <version>2.6</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>log4j</groupId>
  122. <artifactId>log4j</artifactId>
  123. <version>1.2.17</version>
  124. </dependency>
  125. <!-- http client -->
  126. <dependency>
  127. <groupId>org.apache.httpcomponents</groupId>
  128. <artifactId>httpclient</artifactId>
  129. <version>4.5.1</version>
  130. </dependency>
  131. <!-- json -->
  132. <dependency>
  133. <groupId>org.json</groupId>
  134. <artifactId>org.json</artifactId>
  135. <version>chargebee-1.0</version>
  136. </dependency>
  137. <!--web -->
  138. <dependency>
  139. <groupId>javax.servlet</groupId>
  140. <artifactId>servlet-api</artifactId>
  141. <version>2.5</version>
  142. <scope>provided</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>javax.servlet.jsp</groupId>
  146. <artifactId>jsp-api</artifactId>
  147. <version>2.1</version>
  148. <scope>provided</scope>
  149. </dependency>
  150. <dependency>
  151. <groupId>javax.servlet</groupId>
  152. <artifactId>jstl</artifactId>
  153. <version>1.2</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>javax.ws.rs</groupId>
  157. <artifactId>javax.ws.rs-api</artifactId>
  158. <version>2.0</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>javax.websocket</groupId>
  162. <artifactId>javax.websocket-api</artifactId>
  163. <version>1.0</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>javax.annotation</groupId>
  167. <artifactId>javax.annotation-api</artifactId>
  168. <version>1.2</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>javax.transaction</groupId>
  172. <artifactId>javax.transaction-api</artifactId>
  173. <version>1.2</version>
  174. </dependency>
  175. <!--Spring -->
  176. <dependency>
  177. <groupId>org.springframework</groupId>
  178. <artifactId>spring-context</artifactId>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.springframework</groupId>
  182. <artifactId>spring-orm</artifactId>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.springframework</groupId>
  186. <artifactId>spring-oxm</artifactId>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework</groupId>
  190. <artifactId>spring-jdbc</artifactId>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.springframework</groupId>
  194. <artifactId>spring-tx</artifactId>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.springframework</groupId>
  198. <artifactId>spring-web</artifactId>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.springframework</groupId>
  202. <artifactId>spring-webmvc</artifactId>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.springframework</groupId>
  206. <artifactId>spring-aop</artifactId>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.springframework</groupId>
  210. <artifactId>spring-test</artifactId>
  211. </dependency>
  212. <!--spring-oxm依赖 -->
  213. <dependency>
  214. <groupId>org.codehaus.castor</groupId>
  215. <artifactId>castor-xml</artifactId>
  216. <version>1.3.3</version>
  217. </dependency>
  218. <!--spring-json依赖 -->
  219. <dependency>
  220. <groupId>com.fasterxml.jackson.core</groupId>
  221. <artifactId>jackson-databind</artifactId>
  222. <version>2.4.2</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>com.fasterxml.jackson.dataformat</groupId>
  226. <artifactId>jackson-dataformat-xml</artifactId>
  227. <version>2.4.2</version>
  228. </dependency>
  229. <!--spring-aop依赖 -->
  230. <dependency>
  231. <groupId>org.aspectj</groupId>
  232. <artifactId>aspectjweaver</artifactId>
  233. <version>1.8.2</version>
  234. </dependency>
  235. <!--上传文件 -->
  236. <dependency>
  237. <groupId>commons-fileupload</groupId>
  238. <artifactId>commons-fileupload</artifactId>
  239. <version>1.3.1</version>
  240. </dependency>
  241. <!--mysql -->
  242. <dependency>
  243. <groupId>mysql</groupId>
  244. <artifactId>mysql-connector-java</artifactId>
  245. <version>${mysql.version}</version>
  246. </dependency>
  247. <!--druid -->
  248. <dependency>
  249. <groupId>com.alibaba</groupId>
  250. <artifactId>druid</artifactId>
  251. <version>1.0.11</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>net.sf.json-lib</groupId>
  255. <artifactId>json-lib-ext-spring</artifactId>
  256. <version>1.0.2</version>
  257. </dependency>
  258. <!--Mybatis -->
  259. <dependency>
  260. <groupId>org.mybatis</groupId>
  261. <artifactId>mybatis</artifactId>
  262. <version>${mybatis.version}</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.mybatis</groupId>
  266. <artifactId>mybatis-spring</artifactId>
  267. <version>${mybatis.spring.version}</version>
  268. </dependency>
  269. <!-- Mybatis Generator -->
  270. <dependency>
  271. <groupId>org.mybatis.generator</groupId>
  272. <artifactId>mybatis-generator-core</artifactId>
  273. <version>1.3.2</version>
  274. <scope>compile</scope>
  275. <optional>true</optional>
  276. </dependency>
  277. <!--分页插件 -->
  278. <dependency>
  279. <groupId>com.github.pagehelper</groupId>
  280. <artifactId>pagehelper</artifactId>
  281. <version>${pagehelper.version}</version>
  282. </dependency>
  283. <!--通用Mapper -->
  284. <dependency>
  285. <groupId>tk.mybatis</groupId>
  286. <artifactId>mapper</artifactId>
  287. <version>${mapper.version}</version>
  288. </dependency>
  289. <dependency>
  290. <groupId>commons-codec</groupId>
  291. <artifactId>commons-codec</artifactId>
  292. <version>1.10</version>
  293. </dependency>
  294. <!-- 二维码 -->
  295. <dependency>
  296. <groupId>com.google.zxing</groupId>
  297. <artifactId>core</artifactId>
  298. <version>3.2.1</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>com.google.zxing</groupId>
  302. <artifactId>javase</artifactId>
  303. <version>3.2.1</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>dom4j</groupId>
  307. <artifactId>dom4j</artifactId>
  308. <version>1.6.1</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>commons-httpclient</groupId>
  312. <artifactId>commons-httpclient</artifactId>
  313. <version>3.1</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>com.github.liyiorg</groupId>
  317. <artifactId>weixin-popular</artifactId>
  318. <version>2.8.12</version>
  319. </dependency>
  320. </dependencies>
  321. <dependencyManagement>
  322. <dependencies>
  323. <dependency>
  324. <groupId>org.springframework</groupId>
  325. <artifactId>spring-framework-bom</artifactId>
  326. <version>${spring.version}</version>
  327. <type>pom</type>
  328. <scope>import</scope>
  329. </dependency>
  330. </dependencies>
  331. </dependencyManagement>
  332. <build>
  333. <resources>
  334. <resource>
  335. <directory>${basedir}/src/main/java</directory>
  336. <includes>
  337. <include>**/*.xml</include>
  338. </includes>
  339. </resource>
  340. <resource>
  341. <directory>${basedir}/src/main/resources</directory>
  342. </resource>
  343. </resources>
  344. <plugins>
  345. <plugin>
  346. <artifactId>maven-compiler-plugin</artifactId>
  347. <configuration>
  348. <source>${jdk.version}</source>
  349. <target>${jdk.version}</target>
  350. </configuration>
  351. </plugin>
  352. <plugin>
  353. <groupId>org.mybatis.generator</groupId>
  354. <artifactId>mybatis-generator-maven-plugin</artifactId>
  355. <version>1.3.2</version>
  356. <configuration>
  357. <configurationFile>${basedir}/src/main/resources/generator/generatorConfig.xml</configurationFile>
  358. <overwrite>true</overwrite>
  359. <verbose>true</verbose>
  360. </configuration>
  361. <dependencies>
  362. <dependency>
  363. <groupId>mysql</groupId>
  364. <artifactId>mysql-connector-java</artifactId>
  365. <version>${mysql.version}</version>
  366. </dependency>
  367. <dependency>
  368. <groupId>tk.mybatis</groupId>
  369. <artifactId>mapper</artifactId>
  370. <version>${mapper.version}</version>
  371. </dependency>
  372. </dependencies>
  373. </plugin>
  374. </plugins>
  375. </build>
  376. </project>