pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  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.xc</groupId>
  6. <artifactId>stock2coin</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <name>stock2 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. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  16. <maven.compiler.source>1.8</maven.compiler.source>
  17. <maven.compiler.target>1.8</maven.compiler.target>
  18. <org.springframework.version>4.0.3.RELEASE</org.springframework.version>
  19. <org.mybatis.version>3.4.1</org.mybatis.version>
  20. <org.mybatis.spring.version>1.3.0</org.mybatis.spring.version>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. <java.version>1.8</java.version>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>junit</groupId>
  28. <artifactId>junit</artifactId>
  29. <version>4.12</version>
  30. <scope>test</scope>
  31. </dependency>
  32. <!--tomcat-->
  33. <dependency>
  34. <groupId>org.apache.tomcat</groupId>
  35. <artifactId>tomcat-servlet-api</artifactId>
  36. <version>8.0.53</version>
  37. </dependency>
  38. <!--支持websocket-->
  39. <!--<dependency>-->
  40. <!--<groupId>javax</groupId>-->
  41. <!--<artifactId>javaee-api</artifactId>-->
  42. <!--<version>7.0</version>-->
  43. <!--</dependency>-->
  44. <!--支持websocket-->
  45. <dependency>
  46. <groupId>io.netty</groupId>
  47. <artifactId>netty-all</artifactId>
  48. <version>4.1.29.Final</version>
  49. </dependency>
  50. <!--springMVC-->
  51. <dependency>
  52. <groupId>org.springframework</groupId>
  53. <artifactId>spring-webmvc</artifactId>
  54. <version>${org.springframework.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework</groupId>
  58. <artifactId>spring-oxm</artifactId>
  59. <version>${org.springframework.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework</groupId>
  63. <artifactId>spring-jdbc</artifactId>
  64. <version>${org.springframework.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework</groupId>
  68. <artifactId>spring-tx</artifactId>
  69. <version>${org.springframework.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework</groupId>
  73. <artifactId>spring-test</artifactId>
  74. <version>${org.springframework.version}</version>
  75. </dependency>
  76. <!--Mybatis-->
  77. <dependency>
  78. <groupId>org.aspectj</groupId>
  79. <artifactId>aspectjweaver</artifactId>
  80. <version>1.7.3</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.mybatis</groupId>
  84. <artifactId>mybatis-spring</artifactId>
  85. <version>${org.mybatis.spring.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.mybatis</groupId>
  89. <artifactId>mybatis</artifactId>
  90. <version>${org.mybatis.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.aspectj</groupId>
  94. <artifactId>aspectjrt</artifactId>
  95. <version>1.6.11</version>
  96. </dependency>
  97. <!--Jackson序列化-->
  98. <dependency>
  99. <groupId>org.codehaus.jackson</groupId>
  100. <artifactId>jackson-mapper-asl</artifactId>
  101. <version>1.9.12</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>commons-dbcp</groupId>
  105. <artifactId>commons-dbcp</artifactId>
  106. <version>1.4</version>
  107. <!--<scope>runtime</scope>-->
  108. </dependency>
  109. <!--logback日志-->
  110. <dependency>
  111. <groupId>ch.qos.logback</groupId>
  112. <artifactId>logback-classic</artifactId>
  113. <version>1.1.2</version>
  114. <scope>compile</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>ch.qos.logback</groupId>
  118. <artifactId>logback-core</artifactId>
  119. <version>1.1.2</version>
  120. <scope>compile</scope>
  121. </dependency>
  122. <!--mysql connect-->
  123. <dependency>
  124. <groupId>mysql</groupId>
  125. <artifactId>mysql-connector-java</artifactId>
  126. <version>5.1.6</version>
  127. </dependency>
  128. <!--guava工具类-->
  129. <dependency>
  130. <groupId>com.google.guava</groupId>
  131. <artifactId>guava</artifactId>
  132. <version>20.0</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.commons</groupId>
  136. <artifactId>commons-lang3</artifactId>
  137. <version>3.5</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>commons-collections</groupId>
  141. <artifactId>commons-collections</artifactId>
  142. <version>3.2.1</version>
  143. </dependency>
  144. <!--joda time-->
  145. <dependency>
  146. <groupId>joda-time</groupId>
  147. <artifactId>joda-time</artifactId>
  148. <version>2.3</version>
  149. </dependency>
  150. <!-- id加密解密 -->
  151. <dependency>
  152. <groupId>org.hashids</groupId>
  153. <artifactId>hashids</artifactId>
  154. <version>1.0.1</version>
  155. </dependency>
  156. <!-- ftpclient -->
  157. <dependency>
  158. <groupId>commons-net</groupId>
  159. <artifactId>commons-net</artifactId>
  160. <version>3.1</version>
  161. </dependency>
  162. <!-- file upload -->
  163. <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
  164. <dependency>
  165. <groupId>commons-fileupload</groupId>
  166. <artifactId>commons-fileupload</artifactId>
  167. <version>1.2.2</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>commons-io</groupId>
  171. <artifactId>commons-io</artifactId>
  172. <version>2.0.1</version>
  173. </dependency>
  174. <!-- mybatis pager -->
  175. <dependency>
  176. <groupId>com.github.pagehelper</groupId>
  177. <artifactId>pagehelper</artifactId>
  178. <version>4.1.0</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.github.miemiedev</groupId>
  182. <artifactId>mybatis-paginator</artifactId>
  183. <version>1.2.17</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.github.jsqlparser</groupId>
  187. <artifactId>jsqlparser</artifactId>
  188. <version>0.9.4</version>
  189. </dependency>
  190. <!--二期新增的-->
  191. <dependency>
  192. <groupId>redis.clients</groupId>
  193. <artifactId>jedis</artifactId>
  194. <version>2.6.0</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.projectlombok</groupId>
  198. <artifactId>lombok</artifactId>
  199. <version>1.16.18</version>
  200. </dependency>
  201. <!-- https://mvnrepository.com/artifact/org.springframework.session/spring-session-data-redis -->
  202. <dependency>
  203. <groupId>org.springframework.session</groupId>
  204. <artifactId>spring-session-data-redis</artifactId>
  205. <version>1.2.0.RELEASE</version>
  206. </dependency>
  207. <!--redisson-->
  208. <!--<dependency>-->
  209. <!--<groupId>org.redisson</groupId>-->
  210. <!--<artifactId>redisson</artifactId>-->
  211. <!--<version>2.9.0</version>-->
  212. <!--</dependency>-->
  213. <!--<dependency>-->
  214. <!--<groupId>com.fasterxml.jackson.dataformat</groupId>-->
  215. <!--<artifactId>jackson-dataformat-avro</artifactId>-->
  216. <!--<version>2.9.0</version>-->
  217. <!--</dependency>-->
  218. <!--集成freemarker-->
  219. <!-- freemarker集成的支持,这个一定要有、不用报错-->
  220. <dependency>
  221. <groupId>org.springframework</groupId>
  222. <artifactId>spring-context-support</artifactId>
  223. <version>3.2.4.RELEASE</version>
  224. </dependency>
  225. <!-- https://mvnrepository.com/artifact/org.freemarker/freemarker -->
  226. <dependency>
  227. <groupId>org.freemarker</groupId>
  228. <artifactId>freemarker</artifactId>
  229. <version>2.3.25-incubating</version>
  230. </dependency>
  231. <!--七牛云存储-->
  232. <dependency>
  233. <groupId>com.qiniu</groupId>
  234. <artifactId>qiniu-java-sdk</artifactId>
  235. <version>7.2.6</version>
  236. <scope>compile</scope>
  237. </dependency>
  238. <!--微信sdk https://github.com/wechat-group/weixin-java-tools -->
  239. <!--sdk wiki https://github.com/wechat-group/weixin-java-tools/wiki -->
  240. <!--微信小程序:weixin-java-miniapp-->
  241. <!--微信支付:weixin-java-pay-->
  242. <!--微信开放平台:weixin-java-open-->
  243. <!--公众号:weixin-java-mp-->
  244. <!--企业号/企业微信:weixin-java-cp-->
  245. <dependency>
  246. <groupId>com.github.binarywang</groupId>
  247. <artifactId>weixin-java-mp</artifactId>
  248. <version>2.7.0</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>com.github.binarywang</groupId>
  252. <artifactId>weixin-java-pay</artifactId>
  253. <version>2.7.0</version>
  254. </dependency>
  255. <!--支付sdk,必须用jdk1.8,在idea中preferences和project structor和pom中修改jdk版本-->
  256. <dependency>
  257. <groupId>cn.springboot</groupId>
  258. <artifactId>best-pay-sdk</artifactId>
  259. <version>1.1.0</version>
  260. </dependency>
  261. <!--aliyun sms sdk-->
  262. <dependency>
  263. <groupId>com.aliyun</groupId>
  264. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  265. <version>1.0.0</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>com.aliyun</groupId>
  269. <artifactId>aliyun-java-sdk-core</artifactId>
  270. <version>3.4.0</version>
  271. </dependency>
  272. <!-- https://mvnrepository.com/artifact/net.iharder/base64 -->
  273. <!--<dependency>-->
  274. <!--<groupId>net.iharder</groupId>-->
  275. <!--<artifactId>base64</artifactId>-->
  276. <!--<version>2.3.9</version>-->
  277. <!--</dependency>-->
  278. <!--聚合api json-->
  279. <!-- https://mvnrepository.com/artifact/net.sf.json-lib/json-lib -->
  280. <dependency>
  281. <groupId>net.sf.json-lib</groupId>
  282. <artifactId>json-lib</artifactId>
  283. <version>2.4</version>
  284. <classifier>jdk15</classifier>
  285. </dependency>
  286. <!--识别指数首字母-->
  287. <dependency>
  288. <groupId>com.belerweb</groupId>
  289. <artifactId>pinyin4j</artifactId>
  290. <version>2.5.1</version>
  291. </dependency>
  292. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  293. <dependency>
  294. <groupId>com.alibaba</groupId>
  295. <artifactId>fastjson</artifactId>
  296. <version>1.2.47</version>
  297. </dependency>
  298. <!--http client maven pom 找了好久-->
  299. <!--<dependency>-->
  300. <!--<groupId>commons-httpclient</groupId>-->
  301. <!--<artifactId>commons-httpclient</artifactId>-->
  302. <!--<version>3.1</version>-->
  303. <!--</dependency>-->
  304. <!-- kaptcha验证码-->
  305. <!-- https://mvnrepository.com/artifact/com.github.penggle/kaptcha -->
  306. <dependency>
  307. <groupId>com.github.penggle</groupId>
  308. <artifactId>kaptcha</artifactId>
  309. <version>2.3.2</version>
  310. </dependency>
  311. <!-- https://mvnrepository.com/artifact/org.openanzo.dependencies/org.apache.commons.httpclient -->
  312. <!--<dependency>-->
  313. <!--<groupId>org.openanzo.dependencies</groupId>-->
  314. <!--<artifactId>org.apache.commons.httpclient</artifactId>-->
  315. <!--<version>3.1</version>-->
  316. <!--</dependency>-->
  317. <!--跨域请求依赖-->
  318. <dependency>
  319. <groupId>com.thetransactioncompany</groupId>
  320. <artifactId>cors-filter</artifactId>
  321. <version>2.6</version>
  322. </dependency>
  323. <!--发送邮件-->
  324. <!-- 邮件start -->
  325. <dependency>
  326. <groupId>javax.mail</groupId>
  327. <artifactId>mail</artifactId>
  328. <version>1.4.7</version>
  329. </dependency>
  330. <!-- 邮件end -->
  331. <!-- https://mvnrepository.com/artifact/org.dom4j/dom4j -->
  332. <dependency>
  333. <groupId>org.dom4j</groupId>
  334. <artifactId>dom4j</artifactId>
  335. <version>2.1.1</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>net.sf.json-lib</groupId>
  339. <artifactId>json-lib</artifactId>
  340. <version>2.2.3</version>
  341. <classifier>jdk15</classifier>
  342. </dependency>
  343. <dependency>
  344. <groupId>com.fasterxml.jackson.core</groupId>
  345. <artifactId>jackson-databind</artifactId>
  346. <version>2.9.8</version>
  347. </dependency>
  348. <dependency>
  349. <groupId>com.auth0</groupId>
  350. <artifactId>java-jwt</artifactId>
  351. <version>3.8.2</version>
  352. </dependency>
  353. <!--websocket-->
  354. <dependency>
  355. <groupId>org.springframework.boot</groupId>
  356. <artifactId>spring-boot-starter-websocket</artifactId>
  357. <version>1.3.5.RELEASE</version>
  358. </dependency>
  359. <dependency>
  360. <groupId>org.java-websocket</groupId>
  361. <artifactId>Java-WebSocket</artifactId>
  362. <version>1.3.8</version>
  363. </dependency>
  364. <dependency>
  365. <groupId>com.alibaba</groupId>
  366. <artifactId>druid</artifactId>
  367. <version>1.1.22</version>
  368. </dependency>
  369. <dependency>
  370. <groupId>com.jfinal</groupId>
  371. <artifactId>activerecord</artifactId>
  372. <version>4.8</version>
  373. </dependency>
  374. </dependencies>
  375. <build>
  376. <finalName>stock2c1</finalName>
  377. <plugins>
  378. <plugin>
  379. <groupId>org.apache.maven.plugins</groupId>
  380. <artifactId>maven-compiler-plugin</artifactId>
  381. <version>3.1</version>
  382. <configuration>
  383. <source>1.8</source>
  384. <target>1.8</target>
  385. </configuration>
  386. </plugin>
  387. <!--PageHelper.startPage(1, 10);只对该语句以后的第一个查询语句得到的数据进行分页,-->
  388. <!--就算你在PageInfo pa = new PageInfo("",对象);语句里面的对象是写的最终得到的数据,-->
  389. <!--该插件还是只会对第一个查询所查询出来的数据进行分页-->
  390. <!--第一个查询语句是指什么呢?举个例子吧-->
  391. <!--比如你有一个查询数据的方法,写在了PageHelper.startPage(1, 10);下面.-->
  392. <!--但是这个查询方法里面包含两个查询语句的话,该插件就只会对第一查询语句查询的数据进行分页,-->
  393. <!--而不是对返回最终数据的查询与基础查询出来的数据进行分页.-->
  394. <plugin>
  395. <groupId>org.mybatis.generator</groupId>
  396. <artifactId>mybatis-generator-maven-plugin</artifactId>
  397. <version>1.3.2</version>
  398. <configuration>
  399. <verbose>true</verbose>
  400. <overwrite>true</overwrite>
  401. </configuration>
  402. </plugin>
  403. <plugin>
  404. <groupId>org.apache.maven.plugins</groupId>
  405. <artifactId>maven-war-plugin</artifactId>
  406. <version>2.5</version>
  407. <configuration>
  408. <failOnMissingWebXml>false</failOnMissingWebXml>
  409. </configuration>
  410. </plugin>
  411. </plugins>
  412. <resources>
  413. <resource>
  414. <directory>
  415. src/main/java
  416. </directory>
  417. <filtering>true</filtering>
  418. <includes>
  419. <include>email/**.html</include>
  420. <include>mappers/**.xml</include>
  421. <include>mappers2/**.xml</include>
  422. </includes>
  423. </resource>
  424. <resource>
  425. <directory>src/main/resources</directory>
  426. <includes>
  427. <include>**/data/*</include>
  428. <include>**/*.xml</include>
  429. <include>**/*.properties</include>
  430. </includes>
  431. </resource>
  432. </resources>
  433. <!-- <sourceDirectory>src.main.java</sourceDirectory>-->
  434. </build>
  435. </project>