pom.xml 17 KB

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