pom.xml 20 KB

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