pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.storlead.boot</groupId>
  7. <artifactId>storlead-dependencies</artifactId>
  8. <version>${revision}</version>
  9. <packaging>pom</packaging>
  10. <name>${project.artifactId}</name>
  11. <description>整个项目的依赖版本</description>
  12. <properties>
  13. <revision>1.0</revision>
  14. <flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
  15. <java.version>1.8</java.version>
  16. <maven.compiler.source>${java.version}</maven.compiler.source>
  17. <maven.compiler.target>${java.version}</maven.compiler.target>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <spring.boot.starter.parent>2.7.0</spring.boot.starter.parent>
  20. <spring.boot.version>2.7.0</spring.boot.version>
  21. <knife4j.version>4.5.0</knife4j.version>
  22. <spring-web.version>5.3.32</spring-web.version>
  23. <jsoup.version>1.18.3</jsoup.version>
  24. <mockito-inline.version>4.11.0</mockito-inline.version>
  25. <lombok.version>1.18.36</lombok.version>
  26. <spring.framework.version>5.3.20</spring.framework.version>
  27. <spring.security.version>5.8.14</spring.security.version>
  28. <fastjson.version>2.0.23</fastjson.version>
  29. <!-- 5.8.35-->
  30. <hutool.version>5.4.3</hutool.version>
  31. <springdoc.version>1.7.0</springdoc.version>
  32. <swagger.ui.version>3.0.0</swagger.ui.version>
  33. <swagger.version>3.0.0</swagger.version>
  34. <swagger.annotations.version>1.5.22</swagger.annotations.version>
  35. <spring.web.socket.version>1.5.3</spring.web.socket.version>
  36. <!-- DB 相关 -->
  37. <druid.version>1.1.24</druid.version>
  38. <mybatis.version>3.5.17</mybatis.version>
  39. <mybatis-plus.version>3.1.2</mybatis-plus.version>
  40. <datasource.spring.boot.starter>2.5.4</datasource.spring.boot.starter>
  41. <dynamic-datasource.version>4.3.1</dynamic-datasource.version>
  42. <mybatis-plus-join.version>1.4.13</mybatis-plus-join.version>
  43. <mysql.connector.version>5.1.47</mysql.connector.version>
  44. <guava.version>33.4.0-jre</guava.version>
  45. <aviator.version>5.2.7</aviator.version>
  46. <transmittable.thread.version>2.14.0</transmittable.thread.version>
  47. <google.code.gson.version>2.10.1</google.code.gson.version>
  48. <squareup.okhttp.version>4.12.0</squareup.okhttp.version>
  49. <okhttp.sse.version>4.10.0</okhttp.sse.version>
  50. <spring.validation.version>2.6.3</spring.validation.version>
  51. <apache.httpcore5.client5.version>5.2.1</apache.httpcore5.client5.version>
  52. <apache.httpcore5.version>5.2.1</apache.httpcore5.version>
  53. <apache.httpcore5-h2.version>5.2.1</apache.httpcore5-h2.version>
  54. <apache.httpasyncclient.version>4.1.5</apache.httpasyncclient.version>
  55. <io.jsonwebtoken.version>0.9.1</io.jsonwebtoken.version>
  56. <io.jsonwebtoken.java.jwt.version>3.7.0</io.jsonwebtoken.java.jwt.version>
  57. </properties>
  58. <dependencyManagement>
  59. <dependencies>
  60. <dependency>
  61. <groupId>org.springframework</groupId>
  62. <artifactId>spring-web</artifactId>
  63. <version>${spring-web.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.storlead.boot</groupId>
  67. <artifactId>storlead-core</artifactId>
  68. <version>${revision}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.storlead.boot</groupId>
  72. <artifactId>storlead-auth</artifactId>
  73. <version>${revision}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.storlead.boot</groupId>
  77. <artifactId>storlead-redis</artifactId>
  78. <version>${revision}</version>
  79. </dependency>
  80. <!-- <dependency>-->
  81. <!-- <groupId>com.storlead.boot</groupId>-->
  82. <!-- <artifactId>storlead-framework</artifactId>-->
  83. <!-- <version>${revision}</version>-->
  84. <!-- </dependency>-->
  85. <dependency>
  86. <groupId>com.storlead.boot</groupId>
  87. <artifactId>storlead-share-aicms</artifactId>
  88. <version>${revision}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.storlead.boot</groupId>
  92. <artifactId>storlead-web</artifactId>
  93. <version>${revision}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.baomidou</groupId>
  97. <artifactId>mybatis-plus-generator</artifactId>
  98. <version>${mybatis-plus.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.storlead.boot</groupId>
  102. <artifactId>storlead-mybatis</artifactId>
  103. <version>${revision}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.storlead.boot</groupId>
  107. <artifactId>storlead-common</artifactId>
  108. <version>${revision}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.storlead.boot</groupId>
  112. <artifactId>storlead-system</artifactId>
  113. <version>${revision}</version>
  114. </dependency>
  115. <!-- &lt;!&ndash;swagger&ndash;&gt;-->
  116. <dependency>
  117. <groupId>io.springfox</groupId>
  118. <artifactId>springfox-swagger2</artifactId>
  119. <version>${swagger.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>io.springfox</groupId>
  123. <artifactId>springfox-swagger-ui</artifactId>
  124. <version>${swagger.ui.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>io.swagger</groupId>
  128. <artifactId>swagger-annotations</artifactId>
  129. <version>${swagger.annotations.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.google.code.gson</groupId>
  133. <artifactId>gson</artifactId>
  134. <version>${google.code.gson.version}</version> <!-- 建议使用最新版本 -->
  135. </dependency>
  136. <dependency>
  137. <groupId>com.alibaba</groupId>
  138. <artifactId>fastjson</artifactId>
  139. <version>${fastjson.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.httpcomponents.client5</groupId>
  143. <artifactId>httpclient5</artifactId>
  144. <version>${apache.httpcore5.client5.version}</version>
  145. </dependency>
  146. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents.core5/httpcore5 -->
  147. <dependency>
  148. <groupId>org.apache.httpcomponents.core5</groupId>
  149. <artifactId>httpcore5</artifactId>
  150. <version>${apache.httpcore5.version}</version>
  151. </dependency>
  152. <!--JWT-->
  153. <dependency>
  154. <groupId>com.auth0</groupId>
  155. <artifactId>java-jwt</artifactId>
  156. <version>${io.jsonwebtoken.java.jwt.version}</version>
  157. </dependency>
  158. <!-- jwt 需要,移除会报错 -->
  159. <dependency>
  160. <groupId>io.jsonwebtoken</groupId>
  161. <artifactId>jjwt</artifactId>
  162. <version>${io.jsonwebtoken.version}</version>
  163. </dependency>
  164. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents.core5/httpcore5-h2 -->
  165. <dependency>
  166. <groupId>org.apache.httpcomponents.core5</groupId>
  167. <artifactId>httpcore5-h2</artifactId>
  168. <version>${apache.httpcore5-h2.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.apache.httpcomponents</groupId>
  172. <artifactId>httpasyncclient</artifactId>
  173. <version>${apache.httpasyncclient.version}</version>
  174. </dependency>
  175. <!-- <dependency>-->
  176. <!-- <groupId>com.github.xiaoymin</groupId>-->
  177. <!-- <artifactId>swagger-bootstrap-ui</artifactId>-->
  178. <!-- <version>1.8.7</version>-->
  179. <!-- </dependency>-->
  180. <!-- <dependency>-->
  181. <!-- <groupId>com.squareup.okhttp3</groupId>-->
  182. <!-- <artifactId>okhttp</artifactId>-->
  183. <!-- <version>${squareup.okhttp.version}</version> &lt;!&ndash; 2023年最新稳定版 &ndash;&gt;-->
  184. <!-- </dependency>-->
  185. <dependency>
  186. <groupId>com.squareup.okhttp3</groupId>
  187. <artifactId>okhttp-sse</artifactId>
  188. <version>${okhttp.sse.version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.projectlombok</groupId>
  192. <artifactId>lombok</artifactId>
  193. <version>${lombok.version}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>cn.hutool</groupId>
  197. <artifactId>hutool-all</artifactId>
  198. <version>${hutool.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.springframework.boot</groupId>
  202. <artifactId>spring-boot-dependencies</artifactId>
  203. <version>${spring.boot.version}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.github.xiaoymin</groupId>
  207. <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  208. <version>${knife4j.version}</version>
  209. </dependency>
  210. <!-- <dependency>-->
  211. <!-- <groupId>cn.hutool</groupId>-->
  212. <!-- <artifactId>hutool-all</artifactId>-->
  213. <!-- <version>4.5.11</version>-->
  214. <!-- </dependency>-->
  215. <dependency>
  216. <groupId>com.googlecode.aviator</groupId>
  217. <artifactId>aviator</artifactId>
  218. <version>${aviator.version}</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>com.alibaba</groupId>
  222. <artifactId>transmittable-thread-local</artifactId>
  223. <version>${transmittable.thread.version}</version> <!-- 建议使用最新版本 -->
  224. </dependency>
  225. <!-- mybatis-plus -->
  226. <dependency>
  227. <groupId>com.baomidou</groupId>
  228. <artifactId>mybatis-plus-boot-starter</artifactId>
  229. <version>${mybatis-plus.version}</version>
  230. </dependency>
  231. <!--mysql-->
  232. <dependency>
  233. <groupId>mysql</groupId>
  234. <artifactId>mysql-connector-java</artifactId>
  235. <version>${mysql.connector.version}</version>
  236. </dependency>
  237. <!-- 动态数据源 -->
  238. <dependency>
  239. <groupId>com.baomidou</groupId>
  240. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  241. <version>${datasource.spring.boot.starter}</version>
  242. </dependency>
  243. <!-- druid -->
  244. <dependency>
  245. <groupId>com.alibaba</groupId>
  246. <artifactId>druid-spring-boot-starter</artifactId>
  247. <version>${druid.version}</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>com.github.yulichang</groupId>
  251. <artifactId>mybatis-plus-join-boot-starter</artifactId> <!-- MyBatis 联表查询 -->
  252. <version>${mybatis-plus-join.version}</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.java-websocket</groupId>
  256. <artifactId>Java-WebSocket</artifactId>
  257. <version>${spring.web.socket.version}</version>
  258. </dependency>
  259. <!-- Web 相关 -->
  260. <dependency>
  261. <groupId>org.springframework.boot</groupId>
  262. <artifactId>spring-boot-starter-web</artifactId>
  263. <version>2.7.0</version>
  264. <exclusions>
  265. <exclusion>
  266. <groupId>org.springframework</groupId>
  267. <artifactId>spring-web</artifactId>
  268. </exclusion>
  269. </exclusions>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.jsoup</groupId>
  273. <artifactId>jsoup</artifactId>
  274. <version>${jsoup.version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.google.guava</groupId>
  278. <artifactId>guava</artifactId>
  279. <version>${guava.version}</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>org.mockito</groupId>
  283. <artifactId>mockito-inline</artifactId>
  284. <version>${mockito-inline.version}</version> <!-- 支持 Mockito 的 final 类与 static 方法的 mock -->
  285. </dependency>
  286. <dependency>
  287. <groupId>org.springdoc</groupId>
  288. <artifactId>springdoc-openapi-ui</artifactId>
  289. <version>${springdoc.version}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.springframework.boot</groupId>
  293. <artifactId>spring-boot-starter-test</artifactId>
  294. <version>${spring.boot.version}</version>
  295. <exclusions>
  296. <exclusion>
  297. <artifactId>asm</artifactId>
  298. <groupId>org.ow2.asm</groupId>
  299. </exclusion>
  300. <exclusion>
  301. <groupId>org.mockito</groupId>
  302. <artifactId>mockito-core</artifactId>
  303. </exclusion>
  304. </exclusions>
  305. </dependency>
  306. </dependencies>
  307. </dependencyManagement>
  308. <!-- <build>-->
  309. <!-- <plugins>-->
  310. <!-- &lt;!&ndash; 统一 revision 版本 &ndash;&gt;-->
  311. <!-- <plugin>-->
  312. <!-- <groupId>org.codehaus.mojo</groupId>-->
  313. <!-- <artifactId>flatten-maven-plugin</artifactId>-->
  314. <!-- <version>${flatten-maven-plugin.version}</version>-->
  315. <!-- <configuration>-->
  316. <!-- <flattenMode>bom</flattenMode>-->
  317. <!-- <updatePomFile>true</updatePomFile>-->
  318. <!-- </configuration>-->
  319. <!-- <executions>-->
  320. <!-- <execution>-->
  321. <!-- <goals>-->
  322. <!-- <goal>flatten</goal>-->
  323. <!-- </goals>-->
  324. <!-- <id>flatten</id>-->
  325. <!-- <phase>process-resources</phase>-->
  326. <!-- </execution>-->
  327. <!-- <execution>-->
  328. <!-- <goals>-->
  329. <!-- <goal>clean</goal>-->
  330. <!-- </goals>-->
  331. <!-- <id>flatten.clean</id>-->
  332. <!-- <phase>clean</phase>-->
  333. <!-- </execution>-->
  334. <!-- </executions>-->
  335. <!-- </plugin>-->
  336. <!-- </plugins>-->
  337. <!-- </build>-->
  338. </project>