pom.xml 19 KB

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