pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>3.1.3</version>
  8. <relativePath/> <!-- lookup parent from repository -->
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.cslg</groupId>
  12. <artifactId>PPA</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>PPA</name>
  15. <description>PPA project for Spring Boot</description>
  16. <properties>
  17. <java.version>8</java.version>
  18. <jwt.version>0.9.0</jwt.version>
  19. <commons.io.version>2.5</commons.io.version>
  20. <mybatisplus.version>3.5.3.1</mybatisplus.version>
  21. <google.code.gson.version>2.7</google.code.gson.version>
  22. <hutool.version>5.6.5</hutool.version>
  23. <okhttps.version>4.10.0</okhttps.version>
  24. <poi.version>4.1.2</poi.version>
  25. <poi-tl.version>1.10.3</poi-tl.version>
  26. <druid.version>1.1.20</druid.version>
  27. <fastjson.version>2.0.12</fastjson.version>
  28. <sa-token.version>1.29.0</sa-token.version>
  29. <springdoc.version>1.6.6</springdoc.version>
  30. <elasticsearch.version>8.6.1</elasticsearch.version>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-test</artifactId>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springdoc</groupId>
  44. <artifactId>springdoc-openapi-ui</artifactId>
  45. <version>${springdoc.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-aop</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.deepoove</groupId>
  53. <artifactId>poi-tl</artifactId>
  54. <version>${poi-tl.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>cn.dev33</groupId>
  58. <artifactId>sa-token-spring-boot-starter</artifactId>
  59. <version>${sa-token.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>cn.dev33</groupId>
  63. <artifactId>sa-token-dao-redis-jackson</artifactId>
  64. <version>${sa-token.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.alibaba</groupId>
  68. <artifactId>druid-spring-boot-starter</artifactId>
  69. <version>${druid.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.alibaba</groupId>
  73. <artifactId>fastjson</artifactId>
  74. <version>${fastjson.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.commons</groupId>
  78. <artifactId>commons-compress</artifactId>
  79. <version>1.21</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>commons-io</groupId>
  83. <artifactId>commons-io</artifactId>
  84. <version>2.6</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.jsonwebtoken</groupId>
  88. <artifactId>jjwt</artifactId>
  89. <version>${jwt.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.ejlchina</groupId>
  93. <artifactId>okhttps</artifactId>
  94. <version>3.1.1</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.squareup.okhttp3</groupId>
  98. <artifactId>okhttp</artifactId>
  99. <version>3.14.9</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>cn.hutool</groupId>
  107. <artifactId>hutool-all</artifactId>
  108. <version>${hutool.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.google.code.gson</groupId>
  112. <artifactId>gson</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.mybatis</groupId>
  116. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  117. <version>1.0.2</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.baomidou</groupId>
  121. <artifactId>mybatis-plus-boot-starter</artifactId>
  122. <version>${mybatisplus.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-starter-data-redis</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-starter-web</artifactId>
  131. <version>3.1.3</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-websocket</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.commons</groupId>
  139. <artifactId>commons-pool2</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.mysql</groupId>
  143. <artifactId>mysql-connector-j</artifactId>
  144. <scope>runtime</scope>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.projectlombok</groupId>
  148. <artifactId>lombok</artifactId>
  149. <optional>true</optional>
  150. </dependency>
  151. <dependency>
  152. <groupId>junit</groupId>
  153. <artifactId>junit</artifactId>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.poi</groupId>
  157. <artifactId>poi</artifactId>
  158. <version>${poi.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.apache.poi</groupId>
  162. <artifactId>poi-ooxml</artifactId>
  163. <version>${poi.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.poi</groupId>
  167. <artifactId>poi-scratchpad</artifactId>
  168. <version>${poi.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>commons-fileupload</groupId>
  172. <artifactId>commons-fileupload</artifactId>
  173. <version>1.3.3</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.github.pagehelper</groupId>
  177. <artifactId>pagehelper-spring-boot-starter</artifactId>
  178. <version>1.4.0</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-starter-test</artifactId>
  183. <scope>test</scope>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.springframework.boot</groupId>
  187. <artifactId>spring-boot-starter-quartz</artifactId>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.mchange</groupId>
  191. <artifactId>c3p0</artifactId>
  192. <version>0.9.5.2</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.apache.commons</groupId>
  196. <artifactId>commons-text</artifactId>
  197. <version>1.11.0</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.jsoup</groupId>
  201. <artifactId>jsoup</artifactId>
  202. <version>1.14.3</version>
  203. </dependency>
  204. <!-- Selenium WebDriver -->
  205. <dependency>
  206. <groupId>org.seleniumhq.selenium</groupId>
  207. <artifactId>selenium-java</artifactId>
  208. <version>4.25.0</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>joda-time</groupId>
  212. <artifactId>joda-time</artifactId>
  213. <version>2.9.9</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.antlr</groupId>
  217. <artifactId>antlr4-runtime</artifactId>
  218. <version>4.12.0</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.apache.pdfbox</groupId>
  222. <artifactId>pdfbox</artifactId>
  223. <version>2.0.16</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.springframework.boot</groupId>
  227. <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
  228. </dependency>
  229. <dependency>
  230. <groupId>dom4j</groupId>
  231. <artifactId>dom4j</artifactId>
  232. <version>1.6.1</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>jaxen</groupId>
  236. <artifactId>jaxen</artifactId>
  237. <version>1.2.0</version> <!-- 使用你需要的版本 -->
  238. </dependency>
  239. <dependency>
  240. <groupId>org.springframework</groupId>
  241. <artifactId>spring-test</artifactId>
  242. </dependency>
  243. <dependency>
  244. <groupId>org.springframework.boot</groupId>
  245. <artifactId>spring-boot-starter-amqp</artifactId>
  246. </dependency>
  247. <!-- poi-->
  248. <dependency>
  249. <groupId>io.github.draco1023</groupId>
  250. <artifactId>poi-tl-ext</artifactId>
  251. <version>0.4.2</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>commons-beanutils</groupId>
  255. <artifactId>commons-beanutils</artifactId>
  256. <version>1.9.3</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>com.aliyun</groupId>
  260. <artifactId>alimt20181012</artifactId>
  261. <version>1.3.1</version>
  262. </dependency>
  263. </dependencies>
  264. <build>
  265. <finalName>PPA_PROD_TEST</finalName>
  266. <plugins>
  267. <plugin>
  268. <groupId>org.springframework.boot</groupId>
  269. <artifactId>spring-boot-maven-plugin</artifactId>
  270. <configuration>
  271. <includeSystemScope>true</includeSystemScope>
  272. <!-- 指定该Main Class为全局的唯一入口 -->
  273. <mainClass>cn.cslg.ppa.PpaApplication</mainClass>
  274. <layout>ZIP</layout>
  275. <excludes>
  276. <exclude>
  277. <groupId>org.projectlombok</groupId>
  278. <artifactId>lombok</artifactId>
  279. </exclude>
  280. </excludes>
  281. </configuration>
  282. <executions>
  283. <execution>
  284. <goals>
  285. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  286. </goals>
  287. </execution>
  288. </executions>
  289. </plugin>
  290. <plugin>
  291. <groupId>org.apache.maven.plugins</groupId>
  292. <artifactId>maven-compiler-plugin</artifactId>
  293. <configuration>
  294. <source>16</source>
  295. <target>16</target>
  296. </configuration>
  297. </plugin>
  298. <plugin>
  299. <groupId>org.apache.maven.plugins</groupId>
  300. <artifactId>maven-compiler-plugin</artifactId>
  301. <configuration>
  302. <source>8</source>
  303. <target>8</target>
  304. </configuration>
  305. </plugin>
  306. </plugins>
  307. </build>
  308. <!--阿里云镜像源(因需要提交到GithubActions,会引起依赖下载过慢的问题)-->
  309. <repositories>
  310. <repository>
  311. <id>nexus-aliyun</id>
  312. <name>nexus-aliyun</name>
  313. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  314. <releases>
  315. <enabled>true</enabled>
  316. </releases>
  317. <snapshots>
  318. <enabled>false</enabled>
  319. </snapshots>
  320. </repository>
  321. <repository>
  322. <id>com.e-iceblue</id>
  323. <name>e-iceblue</name>
  324. <url>http://repo.e-iceblue.com/nexus/content/groups/public/</url>
  325. </repository>
  326. </repositories>
  327. </project>