pom.xml 15 KB

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