pom.xml 14 KB

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