pom.xml 20 KB

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