pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  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. <groupId>cn.tr</groupId>
  6. <artifactId>tr-dependencies</artifactId>
  7. <version>${revision}</version>
  8. <packaging>pom</packaging>
  9. <modelVersion>4.0.0</modelVersion>
  10. <name>${project.artifactId}</name>
  11. <description>基础 bom 文件,管理整个项目的依赖版本</description>
  12. <properties>
  13. <skip>true</skip>
  14. <revision>0.0.9</revision>
  15. <spring-boot.version>2.7.8</spring-boot.version>
  16. <hutool.version>5.8.12</hutool.version>
  17. <mapstruct.version>1.5.3.Final</mapstruct.version>
  18. <lombok.version>1.18.20</lombok.version>
  19. <ip2region.version>2.6.6</ip2region.version>
  20. <!--数据库-->
  21. <mybatis-plus.version>3.5.3.1</mybatis-plus.version>
  22. <mybatis-plus-generator.version>3.5.3.1</mybatis-plus-generator.version>
  23. <mysql-connector.version>8.0.27</mysql-connector.version>
  24. <druid.version>1.2.8</druid.version>
  25. <pagehelper.boot.version>1.4.5</pagehelper.boot.version>
  26. <!--权限相关-->
  27. <satoken.version>1.34.0</satoken.version>
  28. <!--TEST测试相关-->
  29. <podam.version>7.2.11.RELEASE</podam.version>
  30. <mockito-inline.version>4.11.0</mockito-inline.version>
  31. <caffeine.version>2.6.2</caffeine.version>
  32. <!--redission-->
  33. <redisson.version>3.19.0</redisson.version>
  34. <!--文件存储-->
  35. <aliyun-oss.version>3.15.0</aliyun-oss.version>
  36. <minio.version>8.5.1</minio.version>
  37. <qiniu.version>7.9.5</qiniu.version>
  38. <!--文件导入导出-->
  39. <poi.version>5.2.2</poi.version>
  40. <!--websocket-->
  41. <tio-websocket.version>3.6.0.v20200315-RELEASE</tio-websocket.version>
  42. <!--字节码增强-->
  43. <javassist.version>3.25.0-GA</javassist.version>
  44. <!--flink版本-->
  45. <flink.version>1.16.1</flink.version>
  46. <!--在线文档-->
  47. <knife4j.verison>4.0.0</knife4j.verison>
  48. <!--阿里云短信-->
  49. <ali.core.version>4.6.0</ali.core.version>
  50. <ali.dysmsapi.version>2.2.1</ali.dysmsapi.version>
  51. </properties>
  52. <dependencyManagement>
  53. <dependencies>
  54. <!--springboot pom文件-->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-dependencies</artifactId>
  58. <version>${spring-boot.version}</version>
  59. <type>pom</type>
  60. <scope>import</scope>
  61. </dependency>
  62. <!--redis客户端-->
  63. <dependency>
  64. <groupId>org.redisson</groupId>
  65. <artifactId>redisson-spring-boot-starter</artifactId>
  66. <version>${redisson.version}</version>
  67. <exclusions>
  68. <exclusion>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-logging</artifactId>
  71. </exclusion>
  72. </exclusions>
  73. </dependency>
  74. <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
  75. <dependency>
  76. <groupId>cn.dev33</groupId>
  77. <artifactId>sa-token-spring-boot-starter</artifactId>
  78. <version>${satoken.version}</version>
  79. </dependency>
  80. <!-- Sa-Token 整合 Redis (使用 jdk 默认序列化方式) -->
  81. <dependency>
  82. <groupId>cn.dev33</groupId>
  83. <artifactId>sa-token-dao-redis</artifactId>
  84. <version>${satoken.version}</version>
  85. </dependency>
  86. <!--使用mapstruct转换-->
  87. <dependency>
  88. <groupId>org.mapstruct</groupId>
  89. <artifactId>mapstruct</artifactId>
  90. <version>${mapstruct.version}</version>
  91. </dependency>
  92. <!--hutool工具类包-->
  93. <dependency>
  94. <groupId>cn.hutool</groupId>
  95. <artifactId>hutool-all</artifactId>
  96. <version>${hutool.version}</version>
  97. </dependency>
  98. <!--lombok-->
  99. <dependency>
  100. <groupId>org.projectlombok</groupId>
  101. <artifactId>lombok</artifactId>
  102. <version>${lombok.version}</version>
  103. </dependency>
  104. <!-- ip地址查询 -->
  105. <dependency>
  106. <groupId>org.lionsoul</groupId>
  107. <artifactId>ip2region</artifactId>
  108. <version>${ip2region.version}</version>
  109. </dependency>
  110. <!--mybatis-plus-->
  111. <dependency>
  112. <groupId>com.baomidou</groupId>
  113. <artifactId>mybatis-plus-boot-starter</artifactId>
  114. <version>${mybatis-plus.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.baomidou</groupId>
  118. <artifactId>mybatis-plus-extension</artifactId>
  119. <version>${mybatis-plus.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.baomidou</groupId>
  123. <artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 -->
  124. <version>${mybatis-plus-generator.version}</version>
  125. </dependency>
  126. <!--mybatis-plus-->
  127. <!--阿里数据库连接池 -->
  128. <dependency>
  129. <groupId>com.alibaba</groupId>
  130. <artifactId>druid-spring-boot-starter</artifactId>
  131. <version>${druid.version}</version>
  132. </dependency>
  133. <!-- pagehelper 分页插件 -->
  134. <dependency>
  135. <groupId>com.github.pagehelper</groupId>
  136. <artifactId>pagehelper-spring-boot-starter</artifactId>
  137. <version>${pagehelper.boot.version}</version>
  138. </dependency>
  139. <!--Test测试自动填充对象属性-->
  140. <dependency>
  141. <groupId>uk.co.jemos.podam</groupId>
  142. <artifactId>podam</artifactId>
  143. <version>${podam.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.mockito</groupId>
  147. <artifactId>mockito-inline</artifactId>
  148. <version>${mockito-inline.version}</version> <!-- 支持 Mockito 的 final 类与 static 方法的 mock -->
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-starter-test</artifactId>
  153. <version>${spring-boot.version}</version>
  154. <exclusions>
  155. <exclusion>
  156. <artifactId>asm</artifactId>
  157. <groupId>org.ow2.asm</groupId>
  158. </exclusion>
  159. <exclusion>
  160. <groupId>org.mockito</groupId>
  161. <artifactId>mockito-core</artifactId>
  162. </exclusion>
  163. </exclusions>
  164. </dependency>
  165. <!--缓存-->
  166. <dependency>
  167. <groupId>com.github.ben-manes.caffeine</groupId>
  168. <artifactId>caffeine</artifactId>
  169. <version>${caffeine.version}</version>
  170. </dependency>
  171. <!--OSS模块-->
  172. <!--ali OSS存储-->
  173. <dependency>
  174. <groupId>com.aliyun.oss</groupId>
  175. <artifactId>aliyun-sdk-oss</artifactId>
  176. <version>${aliyun-oss.version}</version>
  177. </dependency>
  178. <!-- minio -->
  179. <dependency>
  180. <groupId>io.minio</groupId>
  181. <artifactId>minio</artifactId>
  182. <version>${minio.version}</version>
  183. </dependency>
  184. <!--七牛云-->
  185. <dependency>
  186. <groupId>com.qiniu</groupId>
  187. <artifactId>qiniu-java-sdk</artifactId>
  188. <version>${qiniu.version}</version>
  189. </dependency>
  190. <!--OSS模块-->
  191. <!-- excel导入导出工具 -->
  192. <dependency>
  193. <groupId>org.apache.poi</groupId>
  194. <artifactId>poi-ooxml</artifactId>
  195. <version>${poi.version}</version>
  196. </dependency>
  197. <!--websocket-->
  198. <dependency>
  199. <groupId>org.t-io</groupId>
  200. <artifactId>tio-websocket-spring-boot-starter</artifactId>
  201. <version>${tio-websocket.version}</version>
  202. </dependency>
  203. <!--字节码增强技术-->
  204. <dependency>
  205. <groupId>org.javassist</groupId>
  206. <artifactId>javassist</artifactId>
  207. <version>${javassist.version}</version>
  208. </dependency>
  209. <!--flink 组件-->
  210. <dependency>
  211. <groupId>org.apache.flink</groupId>
  212. <artifactId>flink-streaming-java</artifactId>
  213. <version>${flink.version}</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.apache.flink</groupId>
  217. <artifactId>flink-clients</artifactId>
  218. <version>${flink.version}</version>
  219. </dependency>
  220. <!--在线文档-->
  221. <dependency>
  222. <groupId>com.github.xiaoymin</groupId>
  223. <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
  224. <version>${knife4j.verison}</version>
  225. </dependency>
  226. <!--业务组件-->
  227. <dependency>
  228. <groupId>cn.tr</groupId>
  229. <artifactId>tr-framework</artifactId>
  230. <version>${revision}</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>cn.tr</groupId>
  234. <artifactId>tr-spring-boot-starter-plugin-test</artifactId>
  235. <version>${revision}</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>cn.tr</groupId>
  239. <artifactId>tr-spring-boot-starter-plugin-flink</artifactId>
  240. <version>${revision}</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>mysql</groupId>
  244. <artifactId>mysql-connector-java</artifactId>
  245. <version>${mysql-connector.version}</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>cn.tr</groupId>
  249. <artifactId>tr-spring-boot-starter-plugin-mybatis</artifactId>
  250. <version>${revision}</version>
  251. </dependency>
  252. <!--缓存插件-->
  253. <dependency>
  254. <groupId>cn.tr</groupId>
  255. <artifactId>tr-spring-boot-starter-plugin-cache</artifactId>
  256. <version>${revision}</version>
  257. </dependency>
  258. <!--文件插件-->
  259. <dependency>
  260. <groupId>cn.tr</groupId>
  261. <artifactId>tr-spring-boot-starter-plugin-file</artifactId>
  262. <version>${revision}</version>
  263. </dependency>
  264. <!--消息总线-->
  265. <dependency>
  266. <groupId>cn.tr</groupId>
  267. <artifactId>tr-spring-boot-starter-plugin-eventbus</artifactId>
  268. <version>${revision}</version>
  269. </dependency>
  270. <!--satoken插件-->
  271. <dependency>
  272. <groupId>cn.tr</groupId>
  273. <artifactId>tr-spring-boot-starter-plugin-satoken</artifactId>
  274. <version>${revision}</version>
  275. </dependency>
  276. <!--字典插件-->
  277. <dependency>
  278. <groupId>cn.tr</groupId>
  279. <artifactId>tr-spring-boot-starter-plugin-dict</artifactId>
  280. <version>${revision}</version>
  281. </dependency>
  282. <!--日志记录插件-->
  283. <dependency>
  284. <groupId>cn.tr</groupId>
  285. <artifactId>tr-spring-boot-starter-plugin-operatelog</artifactId>
  286. <version>${revision}</version>
  287. </dependency>
  288. <!--对象转换插件-->
  289. <dependency>
  290. <groupId>cn.tr</groupId>
  291. <artifactId>tr-spring-boot-starter-plugin-biz-bean-mapper</artifactId>
  292. <version>${revision}</version>
  293. </dependency>
  294. <!--在线文档插件-->
  295. <dependency>
  296. <groupId>cn.tr</groupId>
  297. <artifactId>tr-spring-boot-starter-plugin-doc</artifactId>
  298. <version>${revision}</version>
  299. </dependency>
  300. <!--租户插件-->
  301. <dependency>
  302. <groupId>cn.tr</groupId>
  303. <artifactId>tr-spring-boot-starter-plugin-biz-tenant</artifactId>
  304. <version>${revision}</version>
  305. </dependency>
  306. <!--常量业务插件-->
  307. <dependency>
  308. <groupId>cn.tr</groupId>
  309. <artifactId>tr-spring-boot-starter-plugin-biz-constant</artifactId>
  310. <version>${revision}</version>
  311. </dependency>
  312. <!--表格插件-->
  313. <dependency>
  314. <groupId>cn.tr</groupId>
  315. <artifactId>tr-spring-boot-starter-plugin-biz-excel</artifactId>
  316. <version>${revision}</version>
  317. </dependency>
  318. <!--websocket插件-->
  319. <dependency>
  320. <groupId>cn.tr</groupId>
  321. <artifactId>tr-spring-boot-starter-plugin-websocket</artifactId>
  322. <version>${revision}</version>
  323. </dependency>
  324. <!--表结构自动更新插件-->
  325. <dependency>
  326. <groupId>cn.tr</groupId>
  327. <artifactId>tr-spring-boot-starter-plugin-mp-enhance-actable</artifactId>
  328. <version>${revision}</version>
  329. </dependency>
  330. <!--打印banner插件-->
  331. <dependency>
  332. <groupId>cn.tr</groupId>
  333. <artifactId>tr-spring-boot-starter-plugin-banner</artifactId>
  334. <version>${revision}</version>
  335. </dependency>
  336. <!--敏感词插件-->
  337. <dependency>
  338. <groupId>cn.tr</groupId>
  339. <artifactId>tr-spring-boot-starter-plugin-desensitize</artifactId>
  340. <version>${revision}</version>
  341. </dependency>
  342. <!--web插件-->
  343. <dependency>
  344. <groupId>cn.tr</groupId>
  345. <artifactId>tr-spring-boot-starter-plugin-web</artifactId>
  346. <version>${revision}</version>
  347. </dependency>
  348. <!--阿里云短信-->
  349. <dependency>
  350. <groupId>com.aliyun</groupId>
  351. <artifactId>aliyun-java-sdk-core</artifactId>
  352. <version>${ali.core.version}</version>
  353. </dependency>
  354. <dependency>
  355. <groupId>com.aliyun</groupId>
  356. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  357. <version>${ali.dysmsapi.version}</version>
  358. </dependency>
  359. <!--阿里云短信-->
  360. </dependencies>
  361. </dependencyManagement>
  362. </project>