pom.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>cn.iocoder.boot</groupId>
  7. <artifactId>yudao-dependencies</artifactId>
  8. <version>${revision}</version>
  9. <packaging>pom</packaging>
  10. <name>${project.artifactId}</name>
  11. <description>基础 bom 文件,管理整个项目的依赖版本</description>
  12. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  13. <properties>
  14. <revision>1.5.0-snapshot</revision>
  15. <!-- 统一依赖管理 -->
  16. <spring.boot.version>2.5.9</spring.boot.version>
  17. <!-- Web 相关 -->
  18. <knife4j.version>3.0.2</knife4j.version>
  19. <swagger-annotations.version>1.5.22</swagger-annotations.version>
  20. <servlet.versoin>2.5</servlet.versoin>
  21. <!-- DB 相关 -->
  22. <mysql.version>5.1.46</mysql.version>
  23. <druid.version>1.2.8</druid.version>
  24. <mybatis-plus.version>3.4.3.4</mybatis-plus.version>
  25. <dynamic-datasource.version>3.5.0</dynamic-datasource.version>
  26. <redisson.version>3.16.6</redisson.version>
  27. <!-- Config 配置中心相关 -->
  28. <apollo.version>1.7.0</apollo.version>
  29. <!-- Job 定时任务相关 -->
  30. <!-- 服务保障相关 -->
  31. <lock4j.version>2.2.0</lock4j.version>
  32. <resilience4j.version>1.7.0</resilience4j.version>
  33. <!-- 监控相关 -->
  34. <skywalking.version>8.7.0</skywalking.version>
  35. <spring-boot-admin.version>2.6.2</spring-boot-admin.version>
  36. <opentracing.version>0.31.0</opentracing.version>
  37. <!-- Test 测试相关 -->
  38. <podam.version>7.2.6.RELEASE</podam.version>
  39. <jedis-mock.version>0.1.16</jedis-mock.version>
  40. <mockito-inline.version>3.9.0</mockito-inline.version>
  41. <!-- Bpm 工作流相关 -->
  42. <activiti.version>7.1.0.M6</activiti.version>
  43. <flowable.version>6.7.0</flowable.version>
  44. <!-- 工具类相关 -->
  45. <lombok.version>1.18.20</lombok.version>
  46. <mapstruct.version>1.4.1.Final</mapstruct.version>
  47. <hutool.version>5.6.1</hutool.version>
  48. <easyexcel.verion>2.2.7</easyexcel.verion>
  49. <velocity.version>2.2</velocity.version>
  50. <screw.version>1.0.5</screw.version>
  51. <guava.version>30.1.1-jre</guava.version>
  52. <transmittable-thread-local.version>2.12.2</transmittable-thread-local.version>
  53. <!-- 三方云服务相关 -->
  54. <aliyun-java-sdk-core.version>4.5.25</aliyun-java-sdk-core.version>
  55. <aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version>
  56. <yunpian-java-sdk.version>1.2.7</yunpian-java-sdk.version>
  57. <justauth.version>1.4.0</justauth.version>
  58. </properties>
  59. <dependencyManagement>
  60. <dependencies>
  61. <!-- 统一依赖管理 -->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-dependencies</artifactId>
  65. <version>${spring.boot.version}</version>
  66. <type>pom</type>
  67. <scope>import</scope>
  68. <exclusions>
  69. <exclusion>
  70. <groupId>mysql</groupId>
  71. <artifactId>mysql-connector-java</artifactId>
  72. </exclusion>
  73. </exclusions>
  74. </dependency>
  75. <!-- 业务组件 -->
  76. <dependency>
  77. <groupId>cn.iocoder.boot</groupId>
  78. <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId>
  79. <version>${revision}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>cn.iocoder.boot</groupId>
  83. <artifactId>yudao-spring-boot-starter-biz-dict</artifactId>
  84. <version>${revision}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>cn.iocoder.boot</groupId>
  88. <artifactId>yudao-spring-boot-starter-biz-sms</artifactId>
  89. <version>${revision}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>cn.iocoder.boot</groupId>
  93. <artifactId>yudao-spring-boot-starter-biz-pay</artifactId>
  94. <version>${revision}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>cn.iocoder.boot</groupId>
  98. <artifactId>yudao-spring-boot-starter-biz-weixin</artifactId>
  99. <version>${revision}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>cn.iocoder.boot</groupId>
  103. <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>
  104. <version>${revision}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>cn.iocoder.boot</groupId>
  108. <artifactId>yudao-spring-boot-starter-biz-data-permission</artifactId>
  109. <version>${revision}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>cn.iocoder.boot</groupId>
  113. <artifactId>yudao-spring-boot-starter-biz-social</artifactId>
  114. <version>${revision}</version>
  115. </dependency>
  116. <!-- Spring 核心 -->
  117. <dependency>
  118. <!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-configuration-processor</artifactId>
  121. <version>${spring.boot.version}</version>
  122. </dependency>
  123. <!-- Web 相关 -->
  124. <dependency>
  125. <groupId>cn.iocoder.boot</groupId>
  126. <artifactId>yudao-spring-boot-starter-web</artifactId>
  127. <version>${revision}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>cn.iocoder.boot</groupId>
  131. <artifactId>yudao-spring-boot-starter-security</artifactId>
  132. <version>${revision}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.github.xiaoymin</groupId>
  136. <artifactId>knife4j-spring-boot-starter</artifactId>
  137. <version>${knife4j.version}</version>
  138. <exclusions>
  139. <exclusion>
  140. <artifactId>mapstruct</artifactId>
  141. <groupId>org.mapstruct</groupId> <!-- 避免冲突 -->
  142. </exclusion>
  143. <exclusion>
  144. <artifactId>guava</artifactId>
  145. <groupId>com.google.guava</groupId>
  146. </exclusion>
  147. <exclusion>
  148. <artifactId>swagger-annotations</artifactId>
  149. <groupId>io.swagger</groupId>
  150. </exclusion>
  151. </exclusions>
  152. </dependency>
  153. <dependency>
  154. <groupId>io.swagger</groupId>
  155. <artifactId>swagger-annotations</artifactId>
  156. <version>${swagger-annotations.version}</version>
  157. </dependency>
  158. <!-- DB 相关 -->
  159. <dependency>
  160. <groupId>cn.iocoder.boot</groupId>
  161. <artifactId>yudao-spring-boot-starter-mybatis</artifactId>
  162. <version>${revision}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>mysql</groupId>
  166. <artifactId>mysql-connector-java</artifactId>
  167. <version>${mysql.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.alibaba</groupId>
  171. <artifactId>druid-spring-boot-starter</artifactId>
  172. <version>${druid.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>com.baomidou</groupId>
  176. <artifactId>mybatis-plus-boot-starter</artifactId>
  177. <version>${mybatis-plus.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.baomidou</groupId>
  181. <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
  182. <version>${dynamic-datasource.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>cn.iocoder.boot</groupId>
  186. <artifactId>yudao-spring-boot-starter-redis</artifactId>
  187. <version>${revision}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.redisson</groupId>
  191. <artifactId>redisson-spring-boot-starter</artifactId>
  192. <version>${redisson.version}</version>
  193. </dependency>
  194. <!-- Config 配置中心相关 -->
  195. <dependency>
  196. <groupId>cn.iocoder.boot</groupId>
  197. <artifactId>yudao-spring-boot-starter-config</artifactId>
  198. <version>${revision}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.ctrip.framework.apollo</groupId>
  202. <artifactId>apollo-client</artifactId> <!-- 引入 Apollo Client 库,实现内嵌的配置中心 -->
  203. <version>${apollo.version}</version>
  204. </dependency>
  205. <!-- Job 定时任务相关 -->
  206. <dependency>
  207. <groupId>cn.iocoder.boot</groupId>
  208. <artifactId>yudao-spring-boot-starter-job</artifactId>
  209. <version>${revision}</version>
  210. </dependency>
  211. <!-- 消息队列相关 -->
  212. <dependency>
  213. <groupId>cn.iocoder.boot</groupId>
  214. <artifactId>yudao-spring-boot-starter-mq</artifactId>
  215. <version>${revision}</version>
  216. </dependency>
  217. <!-- 服务保障相关 -->
  218. <dependency>
  219. <groupId>cn.iocoder.boot</groupId>
  220. <artifactId>yudao-spring-boot-starter-protection</artifactId>
  221. <version>${revision}</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>com.baomidou</groupId>
  225. <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
  226. <version>${lock4j.version}</version>
  227. <exclusions>
  228. <exclusion>
  229. <artifactId>redisson-spring-boot-starter</artifactId>
  230. <groupId>org.redisson</groupId>
  231. </exclusion>
  232. </exclusions>
  233. </dependency>
  234. <dependency>
  235. <groupId>io.github.resilience4j</groupId>
  236. <artifactId>resilience4j-ratelimiter</artifactId>
  237. <version>${resilience4j.version}</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>io.github.resilience4j</groupId>
  241. <artifactId>resilience4j-spring-boot2</artifactId>
  242. <version>${resilience4j.version}</version>
  243. </dependency>
  244. <!-- 监控相关 -->
  245. <dependency>
  246. <groupId>cn.iocoder.boot</groupId>
  247. <artifactId>yudao-spring-boot-starter-monitor</artifactId>
  248. <version>${revision}</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.apache.skywalking</groupId>
  252. <artifactId>apm-toolkit-trace</artifactId>
  253. <version>${skywalking.version}</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>org.apache.skywalking</groupId>
  257. <artifactId>apm-toolkit-logback-1.x</artifactId>
  258. <version>${skywalking.version}</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.apache.skywalking</groupId>
  262. <artifactId>apm-toolkit-opentracing</artifactId>
  263. <version>${skywalking.version}</version>
  264. <!-- <exclusions>-->
  265. <!-- <exclusion>-->
  266. <!-- <artifactId>opentracing-api</artifactId>-->
  267. <!-- <groupId>io.opentracing</groupId>-->
  268. <!-- </exclusion>-->
  269. <!-- <exclusion>-->
  270. <!-- <artifactId>opentracing-util</artifactId>-->
  271. <!-- <groupId>io.opentracing</groupId>-->
  272. <!-- </exclusion>-->
  273. <!-- </exclusions>-->
  274. </dependency>
  275. <dependency>
  276. <groupId>io.opentracing</groupId>
  277. <artifactId>opentracing-api</artifactId>
  278. <version>${opentracing.version}</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>io.opentracing</groupId>
  282. <artifactId>opentracing-util</artifactId>
  283. <version>${opentracing.version}</version>
  284. </dependency>
  285. <dependency>
  286. <groupId>io.opentracing</groupId>
  287. <artifactId>opentracing-noop</artifactId>
  288. <version>${opentracing.version}</version>
  289. </dependency>
  290. <dependency>
  291. <groupId>de.codecentric</groupId>
  292. <artifactId>spring-boot-admin-starter-server</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
  293. <version>${spring-boot-admin.version}</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>de.codecentric</groupId>
  297. <artifactId>spring-boot-admin-starter-client</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
  298. <version>${spring-boot-admin.version}</version>
  299. </dependency>
  300. <!-- Test 测试相关 -->
  301. <dependency>
  302. <groupId>cn.iocoder.boot</groupId>
  303. <artifactId>yudao-spring-boot-starter-test</artifactId>
  304. <version>${revision}</version>
  305. <scope>test</scope>
  306. </dependency>
  307. <dependency>
  308. <groupId>org.mockito</groupId>
  309. <artifactId>mockito-inline</artifactId>
  310. <version>${mockito-inline.version}</version> <!-- 支持 Mockito 的 final 类与 static 方法的 mock -->
  311. </dependency>
  312. <dependency>
  313. <groupId>org.springframework.boot</groupId>
  314. <artifactId>spring-boot-starter-test</artifactId>
  315. <version>${spring.boot.version}</version>
  316. <exclusions>
  317. <exclusion>
  318. <artifactId>asm</artifactId>
  319. <groupId>org.ow2.asm</groupId>
  320. </exclusion>
  321. <exclusion>
  322. <groupId>org.mockito</groupId>
  323. <artifactId>mockito-core</artifactId>
  324. </exclusion>
  325. </exclusions>
  326. </dependency>
  327. <dependency>
  328. <groupId>com.github.fppt</groupId> <!-- 单元测试,我们采用内嵌的 Redis 数据库 -->
  329. <artifactId>jedis-mock</artifactId>
  330. <version>${jedis-mock.version}</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>uk.co.jemos.podam</groupId> <!-- 单元测试,随机生成 POJO 类 -->
  334. <artifactId>podam</artifactId>
  335. <version>${podam.version}</version>
  336. </dependency>
  337. <!-- 工作流相关 -->
  338. <dependency>
  339. <groupId>org.activiti</groupId>
  340. <artifactId>activiti-spring-boot-starter</artifactId>
  341. <version>${activiti.version}</version>
  342. <exclusions>
  343. <exclusion>
  344. <groupId>de.odysseus.juel</groupId>
  345. <artifactId>juel-api</artifactId>
  346. </exclusion>
  347. <exclusion>
  348. <groupId>de.odysseus.juel</groupId>
  349. <artifactId>juel-spi</artifactId>
  350. </exclusion>
  351. <exclusion>
  352. <groupId>org.mybatis</groupId>
  353. <artifactId>mybatis</artifactId>
  354. </exclusion>
  355. <exclusion>
  356. <artifactId>el-api</artifactId>
  357. <groupId>javax.el</groupId>
  358. </exclusion>
  359. </exclusions>
  360. </dependency>
  361. <dependency>
  362. <groupId>org.activiti</groupId>
  363. <artifactId>activiti-image-generator</artifactId>
  364. <version>${activiti.version}</version>
  365. </dependency>
  366. <dependency>
  367. <groupId>cn.iocoder.boot</groupId>
  368. <artifactId>yudao-spring-boot-starter-activiti</artifactId>
  369. <version>${revision}</version>
  370. </dependency>
  371. <!-- 工作流相关 flowable -->
  372. <dependency>
  373. <groupId>org.flowable</groupId>
  374. <artifactId>flowable-spring-boot-starter-basic</artifactId>
  375. <version>${flowable.version}</version>
  376. </dependency>
  377. <dependency>
  378. <groupId>org.flowable</groupId>
  379. <artifactId>flowable-spring-boot-starter-actuator</artifactId>
  380. <version>${flowable.version}</version>
  381. </dependency>
  382. <!-- 工作流相关结束 -->
  383. <!-- 工具类相关 -->
  384. <dependency>
  385. <groupId>cn.iocoder.boot</groupId>
  386. <artifactId>yudao-common</artifactId>
  387. <version>${revision}</version>
  388. </dependency>
  389. <dependency>
  390. <groupId>cn.iocoder.boot</groupId>
  391. <artifactId>yudao-spring-boot-starter-excel</artifactId>
  392. <version>${revision}</version>
  393. </dependency>
  394. <dependency>
  395. <groupId>org.projectlombok</groupId>
  396. <artifactId>lombok</artifactId>
  397. <version>${lombok.version}</version>
  398. </dependency>
  399. <dependency>
  400. <groupId>org.mapstruct</groupId>
  401. <artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
  402. <version>${mapstruct.version}</version>
  403. </dependency>
  404. <dependency>
  405. <groupId>org.mapstruct</groupId>
  406. <artifactId>mapstruct-jdk8</artifactId>
  407. <version>${mapstruct.version}</version>
  408. </dependency>
  409. <dependency>
  410. <groupId>org.mapstruct</groupId>
  411. <artifactId>mapstruct-processor</artifactId>
  412. <version>${mapstruct.version}</version>
  413. </dependency>
  414. <dependency>
  415. <groupId>cn.hutool</groupId>
  416. <artifactId>hutool-all</artifactId>
  417. <version>${hutool.version}</version>
  418. </dependency>
  419. <dependency>
  420. <groupId>com.alibaba</groupId>
  421. <artifactId>easyexcel</artifactId>
  422. <version>${easyexcel.verion}</version>
  423. </dependency>
  424. <dependency>
  425. <groupId>org.apache.velocity</groupId>
  426. <artifactId>velocity-engine-core</artifactId>
  427. <version>${velocity.version}</version>
  428. </dependency>
  429. <dependency>
  430. <groupId>cn.smallbun.screw</groupId>
  431. <artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
  432. <version>${screw.version}</version>
  433. <exclusions>
  434. <exclusion>
  435. <groupId>org.freemarker</groupId>
  436. <artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 -->
  437. </exclusion>
  438. </exclusions>
  439. </dependency>
  440. <dependency>
  441. <groupId>com.google.guava</groupId>
  442. <artifactId>guava</artifactId>
  443. <version>${guava.version}</version>
  444. </dependency>
  445. <dependency>
  446. <groupId>com.alibaba</groupId>
  447. <artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 -->
  448. <version>${transmittable-thread-local.version}</version>
  449. </dependency>
  450. <!-- 三方云服务相关 -->
  451. <!-- SMS SDK begin -->
  452. <dependency>
  453. <groupId>com.yunpian.sdk</groupId>
  454. <artifactId>yunpian-java-sdk</artifactId>
  455. <version>${yunpian-java-sdk.version}</version>
  456. </dependency>
  457. <dependency>
  458. <groupId>com.aliyun</groupId>
  459. <artifactId>aliyun-java-sdk-core</artifactId>
  460. <version>${aliyun-java-sdk-core.version}</version>
  461. <exclusions>
  462. <exclusion>
  463. <artifactId>opentracing-api</artifactId>
  464. <groupId>io.opentracing</groupId>
  465. </exclusion>
  466. <exclusion>
  467. <artifactId>opentracing-util</artifactId>
  468. <groupId>io.opentracing</groupId>
  469. </exclusion>
  470. </exclusions>
  471. </dependency>
  472. <dependency>
  473. <groupId>com.aliyun</groupId>
  474. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  475. <version>${aliyun-java-sdk-dysmsapi.version}</version>
  476. </dependency>
  477. <!-- SMS SDK end -->
  478. <dependency>
  479. <groupId>com.xkcoding.justauth</groupId>
  480. <artifactId>justauth-spring-boot-starter</artifactId> <!-- 社交登陆(例如说,个人微信、企业微信等等) -->
  481. <version>${justauth.version}</version>
  482. </dependency>
  483. </dependencies>
  484. </dependencyManagement>
  485. </project>