pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  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>jiemit</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <name>jiemit 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. <maven.compiler.source>1.7</maven.compiler.source>
  15. <maven.compiler.target>1.7</maven.compiler.target>
  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>4.1.2</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. <!--jwt token-->
  34. <dependency>
  35. <groupId>io.jsonwebtoken</groupId>
  36. <artifactId>jjwt</artifactId>
  37. <version>0.7.0</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.alipay.sdk</groupId>
  41. <artifactId>alipay-sdk-java</artifactId>
  42. <version>3.6.0.ALL</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.belerweb</groupId>
  46. <artifactId>pinyin4j</artifactId>
  47. <version>2.5.0</version>
  48. </dependency>
  49. <!-- 阿里云短信jar包 start -->
  50. <dependency>
  51. <groupId>com.aliyun</groupId>
  52. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  53. <version>1.0.0</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.aliyun</groupId>
  57. <artifactId>aliyun-java-sdk-core</artifactId>
  58. <version>2.4.2</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.aliyun</groupId>
  62. <artifactId>aliyun-java-sdk-sms</artifactId>
  63. <version>3.0.0-rc1</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.alibaba</groupId>
  67. <artifactId>fastjson</artifactId>
  68. <version>1.2.15</version>
  69. </dependency>
  70. <!-- 阿里云短信jar包 end-->
  71. <!-- POI表格操作 start -->
  72. <dependency>
  73. <groupId>org.apache.poi</groupId>
  74. <artifactId>poi</artifactId>
  75. <version>3.9</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.poi</groupId>
  79. <artifactId>poi-ooxml</artifactId>
  80. <version>3.9</version>
  81. </dependency>
  82. <!-- POI表格操作 end -->
  83. <!-- excel 文件解析 start -->
  84. <dependency>
  85. <groupId>jexcelapi</groupId>
  86. <artifactId>jxl</artifactId>
  87. <version>2.6</version>
  88. </dependency>
  89. <!-- excel 文件解析 end -->
  90. <!-- Spring 定时器 start -->
  91. <dependency>
  92. <groupId>org.quartz-scheduler</groupId>
  93. <artifactId>quartz</artifactId>
  94. <version>1.8.4</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework</groupId>
  98. <artifactId>spring-context-support</artifactId>
  99. <version>3.2.4.RELEASE</version>
  100. </dependency>
  101. <!-- Spring 定时器 end -->
  102. <!-- lucene 全站搜索 start -->
  103. <dependency>
  104. <groupId>org.apache.lucene</groupId>
  105. <artifactId>lucene-core</artifactId>
  106. <version>6.4.1</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.lucene</groupId>
  110. <artifactId>lucene-analyzers</artifactId>
  111. <version>3.6.2</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.lucene</groupId>
  115. <artifactId>lucene-highlighter</artifactId>
  116. <version>6.4.1</version>
  117. </dependency>
  118. <!-- lucene 全站搜索 end -->
  119. <!-- ajax 上传 start -->
  120. <dependency>
  121. <groupId>commons-fileupload</groupId>
  122. <artifactId>commons-fileupload</artifactId>
  123. <version>1.3.1</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>commons-io</groupId>
  127. <artifactId>commons-io</artifactId>
  128. <version>2.5</version>
  129. </dependency>
  130. <!-- ajax 上传 end -->
  131. <!-- email邮件发送依赖 -->
  132. <dependency>
  133. <groupId>javax.mail</groupId>
  134. <artifactId>mail</artifactId>
  135. <version>1.4.6</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>junit</groupId>
  139. <artifactId>junit</artifactId>
  140. <version>4.11</version>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>log4j</groupId>
  145. <artifactId>log4j</artifactId>
  146. <version>1.2.17</version>
  147. </dependency>
  148. <!-- http client -->
  149. <dependency>
  150. <groupId>org.apache.httpcomponents</groupId>
  151. <artifactId>httpclient</artifactId>
  152. <version>4.5.1</version>
  153. </dependency>
  154. <!-- json -->
  155. <dependency>
  156. <groupId>org.json</groupId>
  157. <artifactId>org.json</artifactId>
  158. <version>chargebee-1.0</version>
  159. </dependency>
  160. <!--web -->
  161. <dependency>
  162. <groupId>javax.servlet</groupId>
  163. <artifactId>servlet-api</artifactId>
  164. <version>2.5</version>
  165. <scope>provided</scope>
  166. </dependency>
  167. <dependency>
  168. <groupId>javax.servlet.jsp</groupId>
  169. <artifactId>jsp-api</artifactId>
  170. <version>2.1</version>
  171. <scope>provided</scope>
  172. </dependency>
  173. <dependency>
  174. <groupId>javax.servlet</groupId>
  175. <artifactId>jstl</artifactId>
  176. <version>1.2</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>javax.ws.rs</groupId>
  180. <artifactId>javax.ws.rs-api</artifactId>
  181. <version>2.0</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>javax.websocket</groupId>
  185. <artifactId>javax.websocket-api</artifactId>
  186. <version>1.0</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>javax.annotation</groupId>
  190. <artifactId>javax.annotation-api</artifactId>
  191. <version>1.2</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>javax.transaction</groupId>
  195. <artifactId>javax.transaction-api</artifactId>
  196. <version>1.2</version>
  197. </dependency>
  198. <!--Spring -->
  199. <dependency>
  200. <groupId>org.springframework</groupId>
  201. <artifactId>spring-context</artifactId>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.springframework</groupId>
  205. <artifactId>spring-orm</artifactId>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.springframework</groupId>
  209. <artifactId>spring-oxm</artifactId>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.springframework</groupId>
  213. <artifactId>spring-jdbc</artifactId>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.springframework</groupId>
  217. <artifactId>spring-tx</artifactId>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.springframework</groupId>
  221. <artifactId>spring-web</artifactId>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.springframework</groupId>
  225. <artifactId>spring-webmvc</artifactId>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.springframework</groupId>
  229. <artifactId>spring-aop</artifactId>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.springframework</groupId>
  233. <artifactId>spring-test</artifactId>
  234. </dependency>
  235. <!--spring-oxm依赖 -->
  236. <dependency>
  237. <groupId>org.codehaus.castor</groupId>
  238. <artifactId>castor-xml</artifactId>
  239. <version>1.3.3</version>
  240. </dependency>
  241. <!--spring-json依赖 -->
  242. <dependency>
  243. <groupId>com.fasterxml.jackson.core</groupId>
  244. <artifactId>jackson-databind</artifactId>
  245. <version>2.4.2</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>com.fasterxml.jackson.dataformat</groupId>
  249. <artifactId>jackson-dataformat-xml</artifactId>
  250. <version>2.4.2</version>
  251. </dependency>
  252. <!--spring-aop依赖 -->
  253. <dependency>
  254. <groupId>org.aspectj</groupId>
  255. <artifactId>aspectjweaver</artifactId>
  256. <version>1.8.2</version>
  257. </dependency>
  258. <!--上传文件 -->
  259. <dependency>
  260. <groupId>commons-fileupload</groupId>
  261. <artifactId>commons-fileupload</artifactId>
  262. <version>1.3.1</version>
  263. </dependency>
  264. <!--mysql -->
  265. <dependency>
  266. <groupId>mysql</groupId>
  267. <artifactId>mysql-connector-java</artifactId>
  268. <version>${mysql.version}</version>
  269. </dependency>
  270. <!--druid -->
  271. <dependency>
  272. <groupId>com.alibaba</groupId>
  273. <artifactId>druid</artifactId>
  274. <version>1.0.11</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>net.sf.json-lib</groupId>
  278. <artifactId>json-lib-ext-spring</artifactId>
  279. <version>1.0.2</version>
  280. </dependency>
  281. <!--Mybatis -->
  282. <dependency>
  283. <groupId>org.mybatis</groupId>
  284. <artifactId>mybatis</artifactId>
  285. <version>${mybatis.version}</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>org.mybatis</groupId>
  289. <artifactId>mybatis-spring</artifactId>
  290. <version>${mybatis.spring.version}</version>
  291. </dependency>
  292. <!-- Mybatis Generator -->
  293. <dependency>
  294. <groupId>org.mybatis.generator</groupId>
  295. <artifactId>mybatis-generator-core</artifactId>
  296. <version>1.3.2</version>
  297. <scope>compile</scope>
  298. <optional>true</optional>
  299. </dependency>
  300. <!--分页插件 -->
  301. <dependency>
  302. <groupId>com.github.pagehelper</groupId>
  303. <artifactId>pagehelper</artifactId>
  304. <version>${pagehelper.version}</version>
  305. </dependency>
  306. <!--通用Mapper -->
  307. <dependency>
  308. <groupId>tk.mybatis</groupId>
  309. <artifactId>mapper</artifactId>
  310. <version>${mapper.version}</version>
  311. </dependency>
  312. <dependency>
  313. <groupId>commons-codec</groupId>
  314. <artifactId>commons-codec</artifactId>
  315. <version>1.10</version>
  316. </dependency>
  317. <!-- 二维码 -->
  318. <dependency>
  319. <groupId>com.google.zxing</groupId>
  320. <artifactId>core</artifactId>
  321. <version>3.2.1</version>
  322. </dependency>
  323. <dependency>
  324. <groupId>com.google.zxing</groupId>
  325. <artifactId>javase</artifactId>
  326. <version>3.2.1</version>
  327. </dependency>
  328. <dependency>
  329. <groupId>dom4j</groupId>
  330. <artifactId>dom4j</artifactId>
  331. <version>1.6.1</version>
  332. </dependency>
  333. <dependency>
  334. <groupId>commons-httpclient</groupId>
  335. <artifactId>commons-httpclient</artifactId>
  336. <version>3.1</version>
  337. </dependency>
  338. <dependency>
  339. <groupId>xstream</groupId>
  340. <artifactId>xstream</artifactId>
  341. <version>1.2.2</version>
  342. </dependency>
  343. <dependency>
  344. <groupId>org.jdom</groupId>
  345. <artifactId>jdom</artifactId>
  346. <version>2.0.2</version>
  347. </dependency>
  348. <dependency>
  349. <groupId>junit</groupId>
  350. <artifactId>junit</artifactId>
  351. <version>4.11</version>
  352. <scope>test</scope>
  353. </dependency>
  354. </dependencies>
  355. <dependencyManagement>
  356. <dependencies>
  357. <dependency>
  358. <groupId>org.springframework</groupId>
  359. <artifactId>spring-framework-bom</artifactId>
  360. <version>${spring.version}</version>
  361. <type>pom</type>
  362. <scope>import</scope>
  363. </dependency>
  364. </dependencies>
  365. </dependencyManagement>
  366. <build>
  367. <resources>
  368. <resource>
  369. <directory>${basedir}/src/main/java</directory>
  370. <includes>
  371. <include>**/*.xml</include>
  372. </includes>
  373. </resource>
  374. <resource>
  375. <directory>${basedir}/src/main/resources</directory>
  376. </resource>
  377. </resources>
  378. <finalName>jiemit</finalName>
  379. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  380. <plugins>
  381. <plugin>
  382. <artifactId>maven-clean-plugin</artifactId>
  383. <version>3.1.0</version>
  384. </plugin>
  385. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
  386. <plugin>
  387. <artifactId>maven-resources-plugin</artifactId>
  388. <version>3.0.2</version>
  389. </plugin>
  390. <plugin>
  391. <artifactId>maven-compiler-plugin</artifactId>
  392. <version>3.8.0</version>
  393. </plugin>
  394. <plugin>
  395. <artifactId>maven-surefire-plugin</artifactId>
  396. <version>2.22.1</version>
  397. </plugin>
  398. <plugin>
  399. <artifactId>maven-war-plugin</artifactId>
  400. <version>3.2.2</version>
  401. </plugin>
  402. <plugin>
  403. <artifactId>maven-install-plugin</artifactId>
  404. <version>2.5.2</version>
  405. </plugin>
  406. <plugin>
  407. <artifactId>maven-deploy-plugin</artifactId>
  408. <version>2.8.2</version>
  409. </plugin>
  410. <plugin>
  411. <artifactId>maven-compiler-plugin</artifactId>
  412. <configuration>
  413. <source>${jdk.version}</source>
  414. <target>${jdk.version}</target>
  415. </configuration>
  416. </plugin>
  417. <plugin>
  418. <groupId>org.mybatis.generator</groupId>
  419. <artifactId>mybatis-generator-maven-plugin</artifactId>
  420. <version>1.3.2</version>
  421. <configuration>
  422. <configurationFile>${basedir}/src/main/resources/generator/generatorConfig.xml
  423. </configurationFile>
  424. <overwrite>true</overwrite>
  425. <verbose>true</verbose>
  426. </configuration>
  427. <dependencies>
  428. <dependency>
  429. <groupId>mysql</groupId>
  430. <artifactId>mysql-connector-java</artifactId>
  431. <version>${mysql.version}</version>
  432. </dependency>
  433. <dependency>
  434. <groupId>tk.mybatis</groupId>
  435. <artifactId>mapper</artifactId>
  436. <version>${mapper.version}</version>
  437. </dependency>
  438. </dependencies>
  439. </plugin>
  440. </plugins>
  441. </pluginManagement>
  442. </build>
  443. </project>