pom.xml 21 KB

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