pom.xml 19 KB

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