pom.xml 20 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.rlzc</groupId>
  7. <artifactId>rlzc-vue-plus</artifactId>
  8. <version>${revision}</version>
  9. <name>RuoYi-Vue-Plus</name>
  10. <url>https://gitee.com/dromara/RuoYi-Vue-Plus</url>
  11. <description>Dromara RuoYi-Vue-Plus多租户管理系统</description>
  12. <properties>
  13. <revision>5.3.1</revision>
  14. <spring-boot.version>3.4.4</spring-boot.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <java.version>17</java.version>
  18. <mybatis.version>3.5.16</mybatis.version>
  19. <springdoc.version>2.8.5</springdoc.version>
  20. <therapi-javadoc.version>0.15.0</therapi-javadoc.version>
  21. <easyexcel.version>4.0.3</easyexcel.version>
  22. <velocity.version>2.3</velocity.version>
  23. <satoken.version>1.40.0</satoken.version>
  24. <mybatis-plus.version>3.5.11</mybatis-plus.version>
  25. <p6spy.version>3.9.1</p6spy.version>
  26. <hutool.version>5.8.35</hutool.version>
  27. <spring-boot-admin.version>3.4.5</spring-boot-admin.version>
  28. <redisson.version>3.45.1</redisson.version>
  29. <lock4j.version>2.2.7</lock4j.version>
  30. <dynamic-ds.version>4.3.1</dynamic-ds.version>
  31. <snailjob.version>1.4.0</snailjob.version>
  32. <mapstruct-plus.version>1.4.6</mapstruct-plus.version>
  33. <mapstruct-plus.lombok.version>0.2.0</mapstruct-plus.lombok.version>
  34. <lombok.version>1.18.36</lombok.version>
  35. <bouncycastle.version>1.76</bouncycastle.version>
  36. <justauth.version>1.16.7</justauth.version>
  37. <!-- 离线IP地址定位库 -->
  38. <ip2region.version>2.7.0</ip2region.version>
  39. <!-- OSS 配置 -->
  40. <aws.sdk.version>2.28.22</aws.sdk.version>
  41. <!-- SMS 配置 -->
  42. <sms4j.version>3.3.4</sms4j.version>
  43. <!-- 限制框架中的fastjson版本 -->
  44. <fastjson.version>1.2.83</fastjson.version>
  45. <!-- 面向运行时的D-ORM依赖 -->
  46. <anyline.version>8.7.2-20250101</anyline.version>
  47. <!--工作流配置-->
  48. <warm-flow.version>1.6.8</warm-flow.version>
  49. <!-- 插件版本 -->
  50. <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
  51. <maven-war-plugin.version>3.2.2</maven-war-plugin.version>
  52. <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
  53. <maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
  54. <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
  55. <!-- 打包默认跳过测试 -->
  56. <skipTests>true</skipTests>
  57. </properties>
  58. <profiles>
  59. <profile>
  60. <id>local</id>
  61. <properties>
  62. <!-- 环境标识,需要与配置文件的名称相对应 -->
  63. <profiles.active>local</profiles.active>
  64. <logging.level>info</logging.level>
  65. <monitor.username>ruoyi</monitor.username>
  66. <monitor.password>123456</monitor.password>
  67. </properties>
  68. </profile>
  69. <profile>
  70. <id>dev</id>
  71. <properties>
  72. <!-- 环境标识,需要与配置文件的名称相对应 -->
  73. <profiles.active>dev</profiles.active>
  74. <logging.level>info</logging.level>
  75. <monitor.username>ruoyi</monitor.username>
  76. <monitor.password>123456</monitor.password>
  77. </properties>
  78. <activation>
  79. <!-- 默认环境 -->
  80. <activeByDefault>true</activeByDefault>
  81. </activation>
  82. </profile>
  83. <profile>
  84. <id>prod</id>
  85. <properties>
  86. <profiles.active>prod</profiles.active>
  87. <logging.level>warn</logging.level>
  88. <monitor.username>ruoyi</monitor.username>
  89. <monitor.password>123456</monitor.password>
  90. </properties>
  91. </profile>
  92. </profiles>
  93. <!-- 依赖声明 -->
  94. <dependencyManagement>
  95. <dependencies>
  96. <!-- SpringBoot的依赖配置-->
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-dependencies</artifactId>
  100. <version>${spring-boot.version}</version>
  101. <type>pom</type>
  102. <scope>import</scope>
  103. </dependency>
  104. <!-- hutool 的依赖配置-->
  105. <dependency>
  106. <groupId>cn.hutool</groupId>
  107. <artifactId>hutool-bom</artifactId>
  108. <version>${hutool.version}</version>
  109. <type>pom</type>
  110. <scope>import</scope>
  111. </dependency>
  112. <!-- Warm-Flow国产工作流引擎, 在线文档:http://warm-flow.cn/ -->
  113. <dependency>
  114. <groupId>org.dromara.warm</groupId>
  115. <artifactId>warm-flow-mybatis-plus-sb3-starter</artifactId>
  116. <version>${warm-flow.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.dromara.warm</groupId>
  120. <artifactId>warm-flow-plugin-ui-sb-web</artifactId>
  121. <version>${warm-flow.version}</version>
  122. </dependency>
  123. <!-- JustAuth 的依赖配置-->
  124. <dependency>
  125. <groupId>me.zhyd.oauth</groupId>
  126. <artifactId>JustAuth</artifactId>
  127. <version>${justauth.version}</version>
  128. </dependency>
  129. <!-- common 的依赖配置-->
  130. <dependency>
  131. <groupId>cn.rlzc</groupId>
  132. <artifactId>rlzc-common-bom</artifactId>
  133. <version>${revision}</version>
  134. <type>pom</type>
  135. <scope>import</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.springdoc</groupId>
  139. <artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
  140. <version>${springdoc.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.github.therapi</groupId>
  144. <artifactId>therapi-runtime-javadoc</artifactId>
  145. <version>${therapi-javadoc.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.projectlombok</groupId>
  149. <artifactId>lombok</artifactId>
  150. <version>${lombok.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.alibaba</groupId>
  154. <artifactId>easyexcel</artifactId>
  155. <version>${easyexcel.version}</version>
  156. </dependency>
  157. <!-- velocity代码生成使用模板 -->
  158. <dependency>
  159. <groupId>org.apache.velocity</groupId>
  160. <artifactId>velocity-engine-core</artifactId>
  161. <version>${velocity.version}</version>
  162. </dependency>
  163. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  164. <dependency>
  165. <groupId>cn.dev33</groupId>
  166. <artifactId>sa-token-spring-boot3-starter</artifactId>
  167. <version>${satoken.version}</version>
  168. </dependency>
  169. <!-- Sa-Token 整合 jwt -->
  170. <dependency>
  171. <groupId>cn.dev33</groupId>
  172. <artifactId>sa-token-jwt</artifactId>
  173. <version>${satoken.version}</version>
  174. <exclusions>
  175. <exclusion>
  176. <groupId>cn.hutool</groupId>
  177. <artifactId>hutool-all</artifactId>
  178. </exclusion>
  179. </exclusions>
  180. </dependency>
  181. <dependency>
  182. <groupId>cn.dev33</groupId>
  183. <artifactId>sa-token-core</artifactId>
  184. <version>${satoken.version}</version>
  185. </dependency>
  186. <!-- dynamic-datasource 多数据源-->
  187. <dependency>
  188. <groupId>com.baomidou</groupId>
  189. <artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
  190. <version>${dynamic-ds.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.mybatis</groupId>
  194. <artifactId>mybatis</artifactId>
  195. <version>${mybatis.version}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.baomidou</groupId>
  199. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  200. <version>${mybatis-plus.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.baomidou</groupId>
  204. <artifactId>mybatis-plus-jsqlparser</artifactId>
  205. <version>${mybatis-plus.version}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.baomidou</groupId>
  209. <artifactId>mybatis-plus-annotation</artifactId>
  210. <version>${mybatis-plus.version}</version>
  211. </dependency>
  212. <!-- sql性能分析插件 -->
  213. <dependency>
  214. <groupId>p6spy</groupId>
  215. <artifactId>p6spy</artifactId>
  216. <version>${p6spy.version}</version>
  217. </dependency>
  218. <!-- AWS SDK for Java 2.x -->
  219. <dependency>
  220. <groupId>software.amazon.awssdk</groupId>
  221. <artifactId>s3</artifactId>
  222. <version>${aws.sdk.version}</version>
  223. </dependency>
  224. <!-- 基于 AWS CRT 的 S3 客户端的性能增强的 S3 传输管理器 -->
  225. <dependency>
  226. <groupId>software.amazon.awssdk</groupId>
  227. <artifactId>s3-transfer-manager</artifactId>
  228. <version>${aws.sdk.version}</version>
  229. </dependency>
  230. <!-- 将基于 Netty 的 HTTP 客户端从类路径中移除 -->
  231. <dependency>
  232. <groupId>software.amazon.awssdk</groupId>
  233. <artifactId>netty-nio-client</artifactId>
  234. <version>${aws.sdk.version}</version>
  235. </dependency>
  236. <!--短信sms4j-->
  237. <dependency>
  238. <groupId>org.dromara.sms4j</groupId>
  239. <artifactId>sms4j-spring-boot-starter</artifactId>
  240. <version>${sms4j.version}</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>de.codecentric</groupId>
  244. <artifactId>spring-boot-admin-starter-server</artifactId>
  245. <version>${spring-boot-admin.version}</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>de.codecentric</groupId>
  249. <artifactId>spring-boot-admin-starter-client</artifactId>
  250. <version>${spring-boot-admin.version}</version>
  251. </dependency>
  252. <!--redisson-->
  253. <dependency>
  254. <groupId>org.redisson</groupId>
  255. <artifactId>redisson-spring-boot-starter</artifactId>
  256. <version>${redisson.version}</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>com.baomidou</groupId>
  260. <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
  261. <version>${lock4j.version}</version>
  262. </dependency>
  263. <!-- SnailJob Client -->
  264. <dependency>
  265. <groupId>com.aizuda</groupId>
  266. <artifactId>snail-job-client-starter</artifactId>
  267. <version>${snailjob.version}</version>
  268. </dependency>
  269. <dependency>
  270. <groupId>com.aizuda</groupId>
  271. <artifactId>snail-job-client-job-core</artifactId>
  272. <version>${snailjob.version}</version>
  273. </dependency>
  274. <!-- 加密包引入 -->
  275. <dependency>
  276. <groupId>org.bouncycastle</groupId>
  277. <artifactId>bcprov-jdk15to18</artifactId>
  278. <version>${bouncycastle.version}</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>io.github.linpeilie</groupId>
  282. <artifactId>mapstruct-plus-spring-boot-starter</artifactId>
  283. <version>${mapstruct-plus.version}</version>
  284. </dependency>
  285. <!-- 离线IP地址定位库 ip2region -->
  286. <dependency>
  287. <groupId>org.lionsoul</groupId>
  288. <artifactId>ip2region</artifactId>
  289. <version>${ip2region.version}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>commons-io</groupId>
  293. <artifactId>commons-io</artifactId>
  294. <version>2.15.0</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>com.alibaba</groupId>
  298. <artifactId>fastjson</artifactId>
  299. <version>${fastjson.version}</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>cn.rlzc</groupId>
  303. <artifactId>rlzc-system</artifactId>
  304. <version>${revision}</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>cn.rlzc</groupId>
  308. <artifactId>rlzc-ai</artifactId>
  309. <version>${revision}</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>cn.rlzc</groupId>
  313. <artifactId>rlzc-job</artifactId>
  314. <version>${revision}</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>cn.rlzc</groupId>
  318. <artifactId>rlzc-generator</artifactId>
  319. <version>${revision}</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>cn.rlzc</groupId>
  323. <artifactId>rlzc-demo</artifactId>
  324. <version>${revision}</version>
  325. </dependency>
  326. <!-- 工作流模块 -->
  327. <dependency>
  328. <groupId>cn.rlzc</groupId>
  329. <artifactId>rlzc-workflow</artifactId>
  330. <version>${revision}</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>com.jboltai</groupId>
  334. <artifactId>jbolt_ai</artifactId>
  335. <version>3.5.0</version>
  336. <exclusions>
  337. <exclusion>
  338. <groupId>org.apache.logging.log4j</groupId>
  339. <artifactId>log4j-slf4j2-impl</artifactId>
  340. </exclusion>
  341. </exclusions>
  342. </dependency>
  343. <!-- <dependency>-->
  344. <!-- <groupId>io.milvus</groupId>-->
  345. <!-- <artifactId>milvus-sdk-java</artifactId>-->
  346. <!-- <version>2.5.4</version>-->
  347. <!-- </dependency>-->
  348. </dependencies>
  349. </dependencyManagement>
  350. <modules>
  351. <module>rlzc-admin</module>
  352. <module>rlzc-common</module>
  353. <module>rlzc-extend</module>
  354. <module>rlzc-modules</module>
  355. </modules>
  356. <packaging>pom</packaging>
  357. <build>
  358. <plugins>
  359. <plugin>
  360. <groupId>org.apache.maven.plugins</groupId>
  361. <artifactId>maven-compiler-plugin</artifactId>
  362. <version>${maven-compiler-plugin.version}</version>
  363. <configuration>
  364. <source>${java.version}</source>
  365. <target>${java.version}</target>
  366. <encoding>${project.build.sourceEncoding}</encoding>
  367. <annotationProcessorPaths>
  368. <path>
  369. <groupId>com.github.therapi</groupId>
  370. <artifactId>therapi-runtime-javadoc-scribe</artifactId>
  371. <version>${therapi-javadoc.version}</version>
  372. </path>
  373. <path>
  374. <groupId>org.projectlombok</groupId>
  375. <artifactId>lombok</artifactId>
  376. <version>${lombok.version}</version>
  377. </path>
  378. <path>
  379. <groupId>org.springframework.boot</groupId>
  380. <artifactId>spring-boot-configuration-processor</artifactId>
  381. <version>${spring-boot.version}</version>
  382. </path>
  383. <path>
  384. <groupId>io.github.linpeilie</groupId>
  385. <artifactId>mapstruct-plus-processor</artifactId>
  386. <version>${mapstruct-plus.version}</version>
  387. </path>
  388. <path>
  389. <groupId>org.projectlombok</groupId>
  390. <artifactId>lombok-mapstruct-binding</artifactId>
  391. <version>${mapstruct-plus.lombok.version}</version>
  392. </path>
  393. </annotationProcessorPaths>
  394. <compilerArgs>
  395. <arg>-parameters</arg>
  396. </compilerArgs>
  397. </configuration>
  398. </plugin>
  399. <!-- 单元测试使用 -->
  400. <plugin>
  401. <groupId>org.apache.maven.plugins</groupId>
  402. <artifactId>maven-surefire-plugin</artifactId>
  403. <version>${maven-surefire-plugin.version}</version>
  404. <configuration>
  405. <argLine>-Dfile.encoding=UTF-8</argLine>
  406. <!-- 根据打包环境执行对应的@Tag测试方法 -->
  407. <groups>${profiles.active}</groups>
  408. <!-- 排除标签 -->
  409. <excludedGroups>exclude</excludedGroups>
  410. </configuration>
  411. </plugin>
  412. <!-- 统一版本号管理 -->
  413. <plugin>
  414. <groupId>org.codehaus.mojo</groupId>
  415. <artifactId>flatten-maven-plugin</artifactId>
  416. <version>${flatten-maven-plugin.version}</version>
  417. <configuration>
  418. <updatePomFile>true</updatePomFile>
  419. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  420. </configuration>
  421. <executions>
  422. <execution>
  423. <id>flatten</id>
  424. <phase>process-resources</phase>
  425. <goals>
  426. <goal>flatten</goal>
  427. </goals>
  428. </execution>
  429. <execution>
  430. <id>flatten.clean</id>
  431. <phase>clean</phase>
  432. <goals>
  433. <goal>clean</goal>
  434. </goals>
  435. </execution>
  436. </executions>
  437. </plugin>
  438. </plugins>
  439. <resources>
  440. <resource>
  441. <directory>src/main/resources</directory>
  442. <!-- 关闭过滤 -->
  443. <filtering>false</filtering>
  444. </resource>
  445. <resource>
  446. <directory>src/main/resources</directory>
  447. <!-- 引入所有 匹配文件进行过滤 -->
  448. <includes>
  449. <include>application*</include>
  450. <include>bootstrap*</include>
  451. <include>banner*</include>
  452. </includes>
  453. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  454. <filtering>true</filtering>
  455. </resource>
  456. </resources>
  457. </build>
  458. <repositories>
  459. <repository>
  460. <id>public</id>
  461. <name>huawei nexus</name>
  462. <url>https://mirrors.huaweicloud.com/repository/maven/</url>
  463. <releases>
  464. <enabled>true</enabled>
  465. </releases>
  466. </repository>
  467. </repositories>
  468. <pluginRepositories>
  469. <pluginRepository>
  470. <id>public</id>
  471. <name>huawei nexus</name>
  472. <url>https://mirrors.huaweicloud.com/repository/maven/</url>
  473. <releases>
  474. <enabled>true</enabled>
  475. </releases>
  476. <snapshots>
  477. <enabled>false</enabled>
  478. </snapshots>
  479. </pluginRepository>
  480. </pluginRepositories>
  481. </project>