pom.xml 16 KB

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