pom.xml 19 KB

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