pom.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  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.sqx</groupId>
  6. <artifactId>tcwm</artifactId>
  7. <version>3.0.0</version>
  8. <packaging>jar</packaging>
  9. <description>sqx_fast</description>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.6.11</version>
  14. </parent>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>1.8</java.version>
  19. <mybatisplus.version>3.2.0</mybatisplus.version>
  20. <mysql.version>8.0.17</mysql.version>
  21. <mssql.version>4.0</mssql.version>
  22. <oracle.version>11.2.0.3</oracle.version>
  23. <druid.version>1.1.13</druid.version>
  24. <quartz.version>2.3.0</quartz.version>
  25. <commons.lang.version>2.6</commons.lang.version>
  26. <commons.fileupload.version>1.2.2</commons.fileupload.version>
  27. <commons.io.version>2.5</commons.io.version>
  28. <commons.codec.version>1.10</commons.codec.version>
  29. <commons.configuration.version>1.10</commons.configuration.version>
  30. <shiro.version>1.10.1</shiro.version>
  31. <jwt.version>0.7.0</jwt.version>
  32. <kaptcha.version>0.0.9</kaptcha.version>
  33. <qiniu.version>7.2.23</qiniu.version>
  34. <aliyun.oss.version>3.4.0</aliyun.oss.version>
  35. <qcloud.cos.version>4.4</qcloud.cos.version>
  36. <swagger.version>2.7.0</swagger.version>
  37. <joda.time.version>2.9.9</joda.time.version>
  38. <gson.version>2.8.5</gson.version>
  39. <fastjson.version>1.2.83</fastjson.version>
  40. <hutool.version>4.1.1</hutool.version>
  41. <lombok.version>1.18.4</lombok.version>
  42. <!--wagon plugin 配置-->
  43. <!--<service-path>/work/sz</service-path>
  44. <pack-name>${project.artifactId}-${project.version}.jar</pack-name>
  45. <remote-addr>192.168.1.10:22</remote-addr>
  46. <remote-username>root</remote-username>
  47. <remote-passwd>123456</remote-passwd>-->
  48. </properties>
  49. <dependencies>
  50. <dependency>
  51. <groupId>org.gavaghan</groupId>
  52. <artifactId>geodesy</artifactId>
  53. <version>1.1.3</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.hibernate.validator</groupId>
  57. <artifactId>hibernate-validator</artifactId>
  58. <version>6.2.3.Final</version>
  59. </dependency>
  60. <!--<dependency>
  61. <groupId>org.springframework</groupId>
  62. <artifactId>spring-core</artifactId>
  63. <version>5.2.9.RELEASE</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework</groupId>
  67. <artifactId>spring-beans</artifactId>
  68. <version>5.2.9.RELEASE</version>
  69. </dependency>-->
  70. <dependency>
  71. <groupId>org.springframework</groupId>
  72. <artifactId>spring-websocket</artifactId>
  73. <version>5.1.2.RELEASE</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.getui.push</groupId>
  77. <artifactId>restful-sdk</artifactId>
  78. <version>1.0.0.1</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-test</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-web</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-aop</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework</groupId>
  95. <artifactId>spring-context-support</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-data-redis</artifactId>
  100. <exclusions>
  101. <exclusion>
  102. <groupId>io.lettuce</groupId>
  103. <artifactId>lettuce-core</artifactId>
  104. </exclusion>
  105. </exclusions>
  106. </dependency>
  107. <dependency>
  108. <groupId>redis.clients</groupId>
  109. <artifactId>jedis</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.redisson</groupId>
  113. <artifactId>redisson</artifactId>
  114. <version>3.21.1</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-configuration-processor</artifactId>
  119. <optional>true</optional>
  120. </dependency>
  121. <!--<dependency>-->
  122. <!--<groupId>org.springframework.boot</groupId>-->
  123. <!--<artifactId>spring-boot-devtools</artifactId>-->
  124. <!--<optional>true</optional>-->
  125. <!--</dependency>-->
  126. <dependency>
  127. <groupId>com.baomidou</groupId>
  128. <artifactId>mybatis-plus-boot-starter</artifactId>
  129. <version>${mybatisplus.version}</version>
  130. <exclusions>
  131. <exclusion>
  132. <groupId>com.baomidou</groupId>
  133. <artifactId>mybatis-plus-generator</artifactId>
  134. </exclusion>
  135. </exclusions>
  136. </dependency>
  137. <dependency>
  138. <groupId>mysql</groupId>
  139. <artifactId>mysql-connector-java</artifactId>
  140. <version>${mysql.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.github.qcloudsms</groupId>
  144. <artifactId>qcloudsms</artifactId>
  145. <version>1.0.6</version>
  146. </dependency>
  147. <!--阿里云短信-->
  148. <dependency>
  149. <groupId>com.aliyun</groupId>
  150. <artifactId>aliyun-java-sdk-core</artifactId>
  151. <version>4.5.3</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>com.aliyun.oss</groupId>
  155. <artifactId>aliyun-sdk-oss</artifactId>
  156. <version>3.4.0</version>
  157. </dependency>
  158. <!-- 苹果工具类 -->
  159. <dependency>
  160. <groupId>com.auth0</groupId>
  161. <artifactId>java-jwt</artifactId>
  162. <version>3.8.3</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.auth0</groupId>
  166. <artifactId>jwks-rsa</artifactId>
  167. <version>0.12.0</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>io.jsonwebtoken</groupId>
  171. <artifactId>jjwt</artifactId>
  172. <version>0.9.0</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>net.sf.json-lib</groupId>
  176. <artifactId>json-lib</artifactId>
  177. <version>2.4</version>
  178. <classifier>jdk15</classifier>
  179. </dependency>
  180. <!-- 集成支付宝sdk -->
  181. <dependency>
  182. <groupId>com.alipay.sdk</groupId>
  183. <artifactId>alipay-sdk-java</artifactId>
  184. <version>4.10.29.ALL</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.github.wxpay</groupId>
  188. <artifactId>wxpay-sdk</artifactId>
  189. <version>0.0.3</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.github.liyiorg</groupId>
  193. <artifactId>weixin-popular</artifactId>
  194. <version>2.8.25</version>
  195. </dependency>
  196. <!--oracle驱动-->
  197. <dependency>
  198. <groupId>com.oracle</groupId>
  199. <artifactId>ojdbc6</artifactId>
  200. <version>${oracle.version}</version>
  201. </dependency>
  202. <!--mssql驱动-->
  203. <dependency>
  204. <groupId>com.microsoft.sqlserver</groupId>
  205. <artifactId>sqljdbc4</artifactId>
  206. <version>${mssql.version}</version>
  207. </dependency>
  208. <!--postgresql驱动-->
  209. <dependency>
  210. <groupId>org.postgresql</groupId>
  211. <artifactId>postgresql</artifactId>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.alibaba</groupId>
  215. <artifactId>druid-spring-boot-starter</artifactId>
  216. <version>${druid.version}</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.quartz-scheduler</groupId>
  220. <artifactId>quartz</artifactId>
  221. <version>${quartz.version}</version>
  222. <exclusions>
  223. <exclusion>
  224. <groupId>com.mchange</groupId>
  225. <artifactId>c3p0</artifactId>
  226. </exclusion>
  227. </exclusions>
  228. </dependency>
  229. <dependency>
  230. <groupId>commons-lang</groupId>
  231. <artifactId>commons-lang</artifactId>
  232. <version>${commons.lang.version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>commons-fileupload</groupId>
  236. <artifactId>commons-fileupload</artifactId>
  237. <version>${commons.fileupload.version}</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>commons-io</groupId>
  241. <artifactId>commons-io</artifactId>
  242. <version>${commons.io.version}</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>commons-codec</groupId>
  246. <artifactId>commons-codec</artifactId>
  247. <version>${commons.codec.version}</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>commons-configuration</groupId>
  251. <artifactId>commons-configuration</artifactId>
  252. <version>${commons.configuration.version}</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.apache.shiro</groupId>
  256. <artifactId>shiro-core</artifactId>
  257. <version>${shiro.version}</version>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.apache.shiro</groupId>
  261. <artifactId>shiro-spring</artifactId>
  262. <version>${shiro.version}</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>io.jsonwebtoken</groupId>
  266. <artifactId>jjwt</artifactId>
  267. <version>${jwt.version}</version>
  268. </dependency>
  269. <dependency>
  270. <groupId>com.github.axet</groupId>
  271. <artifactId>kaptcha</artifactId>
  272. <version>${kaptcha.version}</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>io.springfox</groupId>
  276. <artifactId>springfox-swagger2</artifactId>
  277. <version>${swagger.version}</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>io.springfox</groupId>
  281. <artifactId>springfox-swagger-ui</artifactId>
  282. <version>${swagger.version}</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>com.qiniu</groupId>
  286. <artifactId>qiniu-java-sdk</artifactId>
  287. <version>${qiniu.version}</version>
  288. </dependency>
  289. <dependency>
  290. <groupId>com.aliyun.oss</groupId>
  291. <artifactId>aliyun-sdk-oss</artifactId>
  292. <version>${aliyun.oss.version}</version>
  293. </dependency>
  294. <dependency>
  295. <groupId>com.qcloud</groupId>
  296. <artifactId>cos_api</artifactId>
  297. <version>${qcloud.cos.version}</version>
  298. <exclusions>
  299. <exclusion>
  300. <groupId>org.slf4j</groupId>
  301. <artifactId>slf4j-log4j12</artifactId>
  302. </exclusion>
  303. </exclusions>
  304. </dependency>
  305. <dependency>
  306. <groupId>joda-time</groupId>
  307. <artifactId>joda-time</artifactId>
  308. <version>${joda.time.version}</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>com.google.code.gson</groupId>
  312. <artifactId>gson</artifactId>
  313. <version>${gson.version}</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>com.alibaba</groupId>
  317. <artifactId>fastjson</artifactId>
  318. <version>${fastjson.version}</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>cn.hutool</groupId>
  322. <artifactId>hutool-all</artifactId>
  323. <version>${hutool.version}</version>
  324. </dependency>
  325. <dependency>
  326. <groupId>org.projectlombok</groupId>
  327. <artifactId>lombok</artifactId>
  328. <version>${lombok.version}</version>
  329. </dependency>
  330. <dependency>
  331. <groupId>org</groupId>
  332. <artifactId>jaudiotagger</artifactId>
  333. <version>2.0.3</version>
  334. </dependency>
  335. <!--二维码生成架包引用-->
  336. <!-- https://mvnrepository.com/artifact/com.google.zxing/core -->
  337. <dependency>
  338. <groupId>com.google.zxing</groupId>
  339. <artifactId>core</artifactId>
  340. <version>3.3.3</version>
  341. </dependency>
  342. <!-- https://mvnrepository.com/artifact/com.google.zxing/javase -->
  343. <dependency>
  344. <groupId>com.google.zxing</groupId>
  345. <artifactId>javase</artifactId>
  346. <version>3.3.3</version>
  347. </dependency>
  348. <dependency>
  349. <groupId>com.github.binarywang</groupId>
  350. <artifactId>weixin-java-mp</artifactId>
  351. <version>3.6.0</version>
  352. </dependency>
  353. <dependency>
  354. <groupId>com.github.binarywang</groupId>
  355. <artifactId>weixin-java-pay</artifactId>
  356. <version>3.6.0</version>
  357. </dependency>
  358. <dependency>
  359. <groupId>com.github.pagehelper</groupId>
  360. <artifactId>pagehelper-spring-boot-starter</artifactId>
  361. <version>1.4.1</version>
  362. <exclusions>
  363. <exclusion>
  364. <artifactId>mybatis-spring</artifactId>
  365. <groupId>org.mybatis</groupId>
  366. </exclusion>
  367. <exclusion>
  368. <artifactId>mybatis</artifactId>
  369. <groupId>org.mybatis</groupId>
  370. </exclusion>
  371. </exclusions>
  372. </dependency>
  373. <dependency>
  374. <groupId>com.github.dozermapper</groupId>
  375. <artifactId>dozer-core</artifactId>
  376. <version>6.4.1</version>
  377. </dependency>
  378. <dependency>
  379. <groupId>com.github.wxpay</groupId>
  380. <artifactId>wxpay-sdk</artifactId>
  381. <version>0.0.3</version>
  382. </dependency>
  383. <dependency>
  384. <groupId>org.apache.poi</groupId>
  385. <artifactId>poi-ooxml</artifactId>
  386. <version>4.0.1</version>
  387. </dependency>
  388. <dependency>
  389. <groupId>org.apache.poi</groupId>
  390. <artifactId>poi-ooxml</artifactId>
  391. <version>4.0.1</version>
  392. </dependency>
  393. <dependency>
  394. <groupId>org.apache.poi</groupId>
  395. <artifactId>poi-ooxml</artifactId>
  396. <version>4.0.1</version>
  397. </dependency>
  398. <dependency>
  399. <groupId>org.springframework.boot</groupId>
  400. <artifactId>spring-boot-starter-data-jpa</artifactId>
  401. </dependency>
  402. <dependency>
  403. <groupId>icu.xuyijie</groupId>
  404. <artifactId>secure-api-spring-boot-starter</artifactId>
  405. <version>2.1.6</version>
  406. </dependency>
  407. <!-- excel操作 -->
  408. <dependency>
  409. <groupId>com.alibaba</groupId>
  410. <artifactId>easyexcel</artifactId>
  411. <version>3.1.1</version>
  412. <scope>compile</scope>
  413. </dependency>
  414. <dependency>
  415. <groupId>com.jcraft</groupId>
  416. <artifactId>jsch</artifactId>
  417. <version>0.1.54</version>
  418. </dependency>
  419. <!--<dependency>-->
  420. <!--<groupId>com.baidu.aip</groupId>-->
  421. <!--            <artifactId>java-sdk</artifactId>-->
  422. <!--            <version>4.11.3</version>-->
  423. <!--</dependency>-->
  424. </dependencies>
  425. <build>
  426. <finalName>${project.artifactId}</finalName>
  427. <extensions>
  428. <extension>
  429. <groupId>org.apache.maven.wagon</groupId>
  430. <artifactId>wagon-ssh</artifactId>
  431. <version>2.8</version>
  432. </extension>
  433. </extensions>
  434. <plugins>
  435. <plugin>
  436. <groupId>org.springframework.boot</groupId>
  437. <artifactId>spring-boot-maven-plugin</artifactId>
  438. <configuration>
  439. <fork>true</fork>
  440. </configuration>
  441. </plugin>
  442. <!-- 跳过单元测试 -->
  443. <plugin>
  444. <groupId>org.apache.maven.plugins</groupId>
  445. <artifactId>maven-surefire-plugin</artifactId>
  446. <configuration>
  447. <skipTests>true</skipTests>
  448. </configuration>
  449. </plugin>
  450. <plugin>
  451. <groupId>org.codehaus.mojo</groupId>
  452. <artifactId>wagon-maven-plugin</artifactId>
  453. <version>1.0</version>
  454. <!--<configuration>
  455. <fromFile>target/${pack-name}</fromFile>
  456. <url><![CDATA[scp://${remote-username}:${remote-passwd}@${remote-addr}${service-path}]]></url>
  457. <commands>
  458. &lt;!&ndash; Kill Old Process &ndash;&gt;
  459. <command>kill -9 `ps -ef |grep ${project.artifactId}.jar|grep -v "grep" |awk '{print $2}'`</command>
  460. <command><![CDATA[nohup java -jar ${service-path}/${pack-name} &#45;&#45;spring.profiles.active=test > ${service-path}/sz.log 2>&1 & ]]></command>
  461. <command><![CDATA[netstat -nptl]]></command>
  462. <command><![CDATA[ps -ef | grep java | grep -v grep]]></command>
  463. </commands>
  464. &lt;!&ndash; 运行命令 mvn clean package wagon:upload-single wagon:sshexec&ndash;&gt;
  465. <displayCommandOutputs>true</displayCommandOutputs>
  466. </configuration>-->
  467. </plugin>
  468. <plugin>
  469. <groupId>com.spotify</groupId>
  470. <artifactId>docker-maven-plugin</artifactId>
  471. <version>0.4.14</version>
  472. <!--<executions>-->
  473. <!--<execution>-->
  474. <!--<phase>package</phase>-->
  475. <!--<goals>-->
  476. <!--<goal>build</goal>-->
  477. <!--</goals>-->
  478. <!--</execution>-->
  479. <!--</executions>-->
  480. <configuration>
  481. <imageName>sqx/fast</imageName>
  482. <dockerDirectory>${project.basedir}</dockerDirectory>
  483. <resources>
  484. <resource>
  485. <targetPath>/</targetPath>
  486. <directory>${project.build.directory}</directory>
  487. <include>${project.build.finalName}.jar</include>
  488. </resource>
  489. </resources>
  490. </configuration>
  491. <!-- 运行命令 mvn clean package docker:build 打包并生成docker镜像 -->
  492. </plugin>
  493. </plugins>
  494. </build>
  495. <repositories>
  496. <repository>
  497. <id>public</id>
  498. <name>aliyun nexus</name>
  499. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  500. <releases>
  501. <enabled>true</enabled>
  502. </releases>
  503. </repository>
  504. </repositories>
  505. <pluginRepositories>
  506. <pluginRepository>
  507. <id>public</id>
  508. <name>aliyun nexus</name>
  509. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  510. <releases>
  511. <enabled>true</enabled>
  512. </releases>
  513. <snapshots>
  514. <enabled>false</enabled>
  515. </snapshots>
  516. </pluginRepository>
  517. </pluginRepositories>
  518. </project>