pom.xml 18 KB

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