pom.xml 20 KB

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