pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  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. <!-- redis -->
  37. <redisson.version>3.6.5</redisson.version>
  38. <httpclient.version>4.5.3</httpclient.version>
  39. <!-- DB 相关 -->
  40. <druid.version>1.1.24</druid.version>
  41. <mybatis.version>3.5.17</mybatis.version>
  42. <mybatis-plus.version>3.1.2</mybatis-plus.version>
  43. <datasource.spring.boot.starter>2.5.4</datasource.spring.boot.starter>
  44. <dynamic-datasource.version>4.3.1</dynamic-datasource.version>
  45. <mybatis-plus-join.version>1.4.13</mybatis-plus-join.version>
  46. <mysql.connector.version>5.1.47</mysql.connector.version>
  47. <guava.version>33.4.0-jre</guava.version>
  48. <aviator.version>5.2.7</aviator.version>
  49. <transmittable.thread.version>2.14.0</transmittable.thread.version>
  50. <google.code.gson.version>2.10.1</google.code.gson.version>
  51. <squareup.okhttp.version>4.12.0</squareup.okhttp.version>
  52. <okhttp.sse.version>4.10.0</okhttp.sse.version>
  53. <spring.validation.version>2.6.3</spring.validation.version>
  54. <apache.httpcore5.client5.version>5.2.1</apache.httpcore5.client5.version>
  55. <apache.httpcore5.version>5.2.1</apache.httpcore5.version>
  56. <apache.httpcore5-h2.version>5.2.1</apache.httpcore5-h2.version>
  57. <apache.httpasyncclient.version>4.1.5</apache.httpasyncclient.version>
  58. <io.jsonwebtoken.version>0.9.1</io.jsonwebtoken.version>
  59. <io.jsonwebtoken.java.jwt.version>3.7.0</io.jsonwebtoken.java.jwt.version>
  60. <cn.stylefeng.pinyin4j.version>7.2.3</cn.stylefeng.pinyin4j.version>
  61. </properties>
  62. <dependencyManagement>
  63. <dependencies>
  64. <dependency>
  65. <groupId>org.springframework</groupId>
  66. <artifactId>spring-web</artifactId>
  67. <version>${spring-web.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.storlead.boot</groupId>
  71. <artifactId>storlead-core</artifactId>
  72. <version>${revision}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.storlead.boot</groupId>
  76. <artifactId>storlead-auth</artifactId>
  77. <version>${revision}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.storlead.boot</groupId>
  81. <artifactId>storlead-redis</artifactId>
  82. <version>${revision}</version>
  83. </dependency>
  84. <!-- <dependency>-->
  85. <!-- <groupId>com.storlead.boot</groupId>-->
  86. <!-- <artifactId>storlead-framework</artifactId>-->
  87. <!-- <version>${revision}</version>-->
  88. <!-- </dependency>-->
  89. <dependency>
  90. <groupId>com.storlead.boot</groupId>
  91. <artifactId>storlead-web</artifactId>
  92. <version>${revision}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.storlead.boot</groupId>
  96. <artifactId>storlead-mybatis</artifactId>
  97. <version>${revision}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.storlead.boot</groupId>
  101. <artifactId>storlead-common</artifactId>
  102. <version>${revision}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.storlead.boot</groupId>
  106. <artifactId>storlead-wx</artifactId>
  107. <version>${revision}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.storlead.boot</groupId>
  111. <artifactId>storlead-centre-service</artifactId>
  112. <version>${revision}</version>
  113. </dependency>
  114. <!-- &lt;!&ndash;swagger&ndash;&gt;-->
  115. <dependency>
  116. <groupId>io.springfox</groupId>
  117. <artifactId>springfox-swagger2</artifactId>
  118. <version>${swagger.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>io.springfox</groupId>
  122. <artifactId>springfox-swagger-ui</artifactId>
  123. <version>${swagger.ui.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>io.swagger</groupId>
  127. <artifactId>swagger-annotations</artifactId>
  128. <version>${swagger.annotations.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.alibaba</groupId>
  132. <artifactId>fastjson</artifactId>
  133. <version>${fastjson.version}</version>
  134. </dependency>
  135. <!--JWT-->
  136. <dependency>
  137. <groupId>com.auth0</groupId>
  138. <artifactId>java-jwt</artifactId>
  139. <version>${io.jsonwebtoken.java.jwt.version}</version>
  140. </dependency>
  141. <!-- jwt 需要,移除会报错 -->
  142. <dependency>
  143. <groupId>io.jsonwebtoken</groupId>
  144. <artifactId>jjwt</artifactId>
  145. <version>${io.jsonwebtoken.version}</version>
  146. </dependency>
  147. <!-- pinyin4j -->
  148. <dependency>
  149. <groupId>cn.stylefeng.roses</groupId>
  150. <artifactId>pinyin-sdk-pinyin4j</artifactId>
  151. <version>${cn.stylefeng.pinyin4j.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.projectlombok</groupId>
  155. <artifactId>lombok</artifactId>
  156. <version>${lombok.version}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>cn.hutool</groupId>
  160. <artifactId>hutool-all</artifactId>
  161. <version>${hutool.version}</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.redisson</groupId>
  165. <artifactId>redisson</artifactId>
  166. <version>${redisson.version}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-dependencies</artifactId>
  171. <version>${spring.boot.version}</version>
  172. </dependency>
  173. <!--HttpClient-->
  174. <dependency>
  175. <groupId>org.apache.httpcomponents</groupId>
  176. <artifactId>httpclient</artifactId>
  177. <version>${httpclient.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.github.xiaoymin</groupId>
  181. <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  182. <version>${knife4j.version}</version>
  183. </dependency>
  184. <!-- <dependency>-->
  185. <!-- <groupId>cn.hutool</groupId>-->
  186. <!-- <artifactId>hutool-all</artifactId>-->
  187. <!-- <version>4.5.11</version>-->
  188. <!-- </dependency>-->
  189. <dependency>
  190. <groupId>com.googlecode.aviator</groupId>
  191. <artifactId>aviator</artifactId>
  192. <version>${aviator.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.alibaba</groupId>
  196. <artifactId>transmittable-thread-local</artifactId>
  197. <version>${transmittable.thread.version}</version> <!-- 建议使用最新版本 -->
  198. </dependency>
  199. <!-- mybatis-plus -->
  200. <dependency>
  201. <groupId>com.baomidou</groupId>
  202. <artifactId>mybatis-plus-boot-starter</artifactId>
  203. <version>${mybatis-plus.version}</version>
  204. </dependency>
  205. <!--mysql-->
  206. <dependency>
  207. <groupId>mysql</groupId>
  208. <artifactId>mysql-connector-java</artifactId>
  209. <version>${mysql.connector.version}</version>
  210. </dependency>
  211. <!-- 动态数据源 -->
  212. <dependency>
  213. <groupId>com.baomidou</groupId>
  214. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  215. <version>${datasource.spring.boot.starter}</version>
  216. </dependency>
  217. <!-- druid -->
  218. <dependency>
  219. <groupId>com.alibaba</groupId>
  220. <artifactId>druid-spring-boot-starter</artifactId>
  221. <version>${druid.version}</version>
  222. </dependency>
  223. <!-- Web 相关 -->
  224. <dependency>
  225. <groupId>org.springframework.boot</groupId>
  226. <artifactId>spring-boot-starter-web</artifactId>
  227. <version>2.7.0</version>
  228. <exclusions>
  229. <exclusion>
  230. <groupId>org.springframework</groupId>
  231. <artifactId>spring-web</artifactId>
  232. </exclusion>
  233. </exclusions>
  234. </dependency>
  235. <dependency>
  236. <groupId>com.google.guava</groupId>
  237. <artifactId>guava</artifactId>
  238. <version>${guava.version}</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.springdoc</groupId>
  242. <artifactId>springdoc-openapi-ui</artifactId>
  243. <version>${springdoc.version}</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.springframework.boot</groupId>
  247. <artifactId>spring-boot-starter-test</artifactId>
  248. <version>${spring.boot.version}</version>
  249. <exclusions>
  250. <exclusion>
  251. <artifactId>asm</artifactId>
  252. <groupId>org.ow2.asm</groupId>
  253. </exclusion>
  254. <exclusion>
  255. <groupId>org.mockito</groupId>
  256. <artifactId>mockito-core</artifactId>
  257. </exclusion>
  258. </exclusions>
  259. </dependency>
  260. </dependencies>
  261. </dependencyManagement>
  262. <!-- <build>-->
  263. <!-- <plugins>-->
  264. <!-- &lt;!&ndash; 统一 revision 版本 &ndash;&gt;-->
  265. <!-- <plugin>-->
  266. <!-- <groupId>org.codehaus.mojo</groupId>-->
  267. <!-- <artifactId>flatten-maven-plugin</artifactId>-->
  268. <!-- <version>${flatten-maven-plugin.version}</version>-->
  269. <!-- <configuration>-->
  270. <!-- <flattenMode>bom</flattenMode>-->
  271. <!-- <updatePomFile>true</updatePomFile>-->
  272. <!-- </configuration>-->
  273. <!-- <executions>-->
  274. <!-- <execution>-->
  275. <!-- <goals>-->
  276. <!-- <goal>flatten</goal>-->
  277. <!-- </goals>-->
  278. <!-- <id>flatten</id>-->
  279. <!-- <phase>process-resources</phase>-->
  280. <!-- </execution>-->
  281. <!-- <execution>-->
  282. <!-- <goals>-->
  283. <!-- <goal>clean</goal>-->
  284. <!-- </goals>-->
  285. <!-- <id>flatten.clean</id>-->
  286. <!-- <phase>clean</phase>-->
  287. <!-- </execution>-->
  288. <!-- </executions>-->
  289. <!-- </plugin>-->
  290. <!-- </plugins>-->
  291. <!-- </build>-->
  292. </project>