pom.xml 20 KB

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