pom.xml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  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.eco</groupId>
  7. <artifactId>eco</artifactId>
  8. <version>${revision}</version>
  9. <name>als</name>
  10. <url>https://gitee.com/gaokunw/eco</url>
  11. <description>管理系统</description>
  12. <properties>
  13. <revision>1.1.0</revision>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>21</java.version>
  17. <spring-boot.version>3.2.5</spring-boot.version>
  18. <mybatis-flex.version>1.9.4</mybatis-flex.version>
  19. <satoken.version>1.38.0</satoken.version>
  20. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  21. <HikariCP.version>5.0.1</HikariCP.version>
  22. <bitwalker.version>1.21</bitwalker.version>
  23. <kaptcha.version>2.3.3</kaptcha.version>
  24. <pagehelper.version>6.1.0</pagehelper.version>
  25. <fastjson.version>2.0.43</fastjson.version>
  26. <oshi.version>6.4.8</oshi.version>
  27. <poi.version>5.2.5</poi.version>
  28. <easyexcel.version>3.3.3</easyexcel.version>
  29. <velocity.version>2.3</velocity.version>
  30. <jwt.version>0.9.1</jwt.version>
  31. <servlet-api.version>6.0.0</servlet-api.version>
  32. <guava.version>32.1.1-jre</guava.version>
  33. <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
  34. <springdoc.version>2.3.0</springdoc.version>
  35. <springdoc-openapi-starter-common.version>2.3.0</springdoc-openapi-starter-common.version>
  36. <therapi-runtime-javadoc.version>0.15.0</therapi-runtime-javadoc.version>
  37. <snakeyaml.version>2.2</snakeyaml.version>
  38. <lombok.version>1.18.30</lombok.version>
  39. <mapstruct-plus.version>1.3.6</mapstruct-plus.version>
  40. <mapstruct-plus.lombok.version>0.2.0</mapstruct-plus.lombok.version>
  41. <hutool.version>5.8.29</hutool.version>
  42. <redisson.version>3.26.0</redisson.version>
  43. <lock4j.version>2.2.7</lock4j.version>
  44. <alibaba-ttl.version>2.14.4</alibaba-ttl.version>
  45. <spring-boot-admin.version>3.2.0</spring-boot-admin.version>
  46. <powerjob.version>4.3.9</powerjob.version>
  47. <!-- 离线IP地址定位库 -->
  48. <ip2region.version>2.7.0</ip2region.version>
  49. <!-- OSS 配置 -->
  50. <!-- <aws-java-sdk-s3.version>1.12.710</aws-java-sdk-s3.version>-->
  51. <aws.sdk.version>2.25.15</aws.sdk.version>
  52. <aws.crt.version>0.29.13</aws.crt.version>
  53. <!-- 加解密依赖库 -->
  54. <bcprov-jdk.version>1.77</bcprov-jdk.version>
  55. <!-- 达梦驱动 -->
  56. <dameng.version>8.1.3.140</dameng.version>
  57. <!-- 插件版本 -->
  58. <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
  59. <maven-war-plugin.version>3.2.2</maven-war-plugin.version>
  60. <maven-compiler-plugin.verison>3.11.0</maven-compiler-plugin.verison>
  61. <maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
  62. <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
  63. <easy-es.version>2.0.0-beta4</easy-es.version>
  64. <es.version>7.12.1</es.version>
  65. <ql.version>3.3.4</ql.version>
  66. <deepseek.version>1.4.3</deepseek.version>
  67. </properties>
  68. <profiles>
  69. <profile>
  70. <id>local</id>
  71. <properties>
  72. <!-- 环境标识,需要与配置文件的名称相对应 -->
  73. <profiles.active>local</profiles.active>
  74. <logging.level>info</logging.level>
  75. </properties>
  76. </profile>
  77. <profile>
  78. <id>dev</id>
  79. <properties>
  80. <!-- 环境标识,需要与配置文件的名称相对应 -->
  81. <profiles.active>dev</profiles.active>
  82. <logging.level>info</logging.level>
  83. </properties>
  84. <activation>
  85. <!-- 默认环境 -->
  86. <activeByDefault>true</activeByDefault>
  87. </activation>
  88. </profile>
  89. <profile>
  90. <id>prod</id>
  91. <properties>
  92. <profiles.active>prod</profiles.active>
  93. <logging.level>info</logging.level>
  94. </properties>
  95. </profile>
  96. </profiles>
  97. <!-- 依赖声明 -->
  98. <dependencyManagement>
  99. <dependencies>
  100. <!-- deepseek的依赖配置-->
  101. <dependency>
  102. <groupId>io.github.pig-mesh.ai</groupId>
  103. <artifactId>deepseek-spring-boot-starter</artifactId>
  104. <version>${deepseek.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>io.milvus</groupId>
  108. <artifactId>milvus-sdk-java</artifactId>
  109. <version>2.5.3</version>
  110. </dependency>
  111. <!-- SpringBoot的依赖配置-->
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-dependencies</artifactId>
  115. <version>${spring-boot.version}</version>
  116. <type>pom</type>
  117. <scope>import</scope>
  118. </dependency>
  119. <!-- QLExpress规则引擎的依赖配置-->
  120. <dependency>
  121. <groupId>com.alibaba</groupId>
  122. <artifactId>QLExpress</artifactId>
  123. <version>${ql.version}</version>
  124. </dependency>
  125. <!--达梦数据库驱动-->
  126. <dependency>
  127. <groupId>com.dameng</groupId>
  128. <artifactId>DmJdbcDriver18</artifactId>
  129. <version>${dameng.version}</version>
  130. </dependency>
  131. <!-- hutool 的依赖配置-->
  132. <dependency>
  133. <groupId>cn.hutool</groupId>
  134. <artifactId>hutool-bom</artifactId>
  135. <version>${hutool.version}</version>
  136. <type>pom</type>
  137. <scope>import</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>cn.hutool</groupId>
  141. <artifactId>hutool-all</artifactId>
  142. <version>${hutool.version}</version>
  143. </dependency>
  144. <!-- common 的依赖配置-->
  145. <dependency>
  146. <groupId>org.eco</groupId>
  147. <artifactId>common-bom</artifactId>
  148. <version>${revision}</version>
  149. <type>pom</type>
  150. <scope>import</scope>
  151. </dependency>
  152. <!--测试框架-->
  153. <dependency>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-starter-test</artifactId>
  156. <version>${spring-boot.version}</version>
  157. <scope>test</scope>
  158. </dependency>
  159. <!-- 数据库连接池-->
  160. <dependency>
  161. <groupId>com.zaxxer</groupId>
  162. <artifactId>HikariCP</artifactId>
  163. <version>${HikariCP.version}</version>
  164. </dependency>
  165. <!-- mybatis-flex -->
  166. <dependency>
  167. <groupId>com.mybatis-flex</groupId>
  168. <artifactId>mybatis-flex-spring-boot3-starter</artifactId>
  169. <version>${mybatis-flex.version}</version>
  170. </dependency>
  171. <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
  172. <dependency>
  173. <groupId>cn.dev33</groupId>
  174. <artifactId>sa-token-spring-boot3-starter</artifactId>
  175. <version>${satoken.version}</version>
  176. </dependency>
  177. <!-- Sa-Token 整合 jwt -->
  178. <dependency>
  179. <groupId>cn.dev33</groupId>
  180. <artifactId>sa-token-jwt</artifactId>
  181. <version>${satoken.version}</version>
  182. <exclusions>
  183. <exclusion>
  184. <groupId>cn.hutool</groupId>
  185. <artifactId>hutool-all</artifactId>
  186. </exclusion>
  187. </exclusions>
  188. </dependency>
  189. <dependency>
  190. <groupId>cn.dev33</groupId>
  191. <artifactId>sa-token-core</artifactId>
  192. <version>${satoken.version}</version>
  193. </dependency>
  194. <!-- servlet包 -->
  195. <dependency>
  196. <groupId>jakarta.servlet</groupId>
  197. <artifactId>jakarta.servlet-api</artifactId>
  198. <version>${servlet-api.version}</version>
  199. </dependency>
  200. <!-- 解析客户端操作系统、浏览器等 -->
  201. <dependency>
  202. <groupId>eu.bitwalker</groupId>
  203. <artifactId>UserAgentUtils</artifactId>
  204. <version>${bitwalker.version}</version>
  205. </dependency>
  206. <!-- pagehelper 分页插件 -->
  207. <dependency>
  208. <groupId>com.github.pagehelper</groupId>
  209. <artifactId>pagehelper</artifactId>
  210. <version>${pagehelper.version}</version>
  211. </dependency>
  212. <!-- 获取系统信息 -->
  213. <dependency>
  214. <groupId>com.github.oshi</groupId>
  215. <artifactId>oshi-core</artifactId>
  216. <version>${oshi.version}</version>
  217. </dependency>
  218. <!-- excel工具 -->
  219. <dependency>
  220. <groupId>org.apache.poi</groupId>
  221. <artifactId>poi</artifactId>
  222. <version>${poi.version}</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.apache.poi</groupId>
  226. <artifactId>poi-ooxml</artifactId>
  227. <version>${poi.version}</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>com.alibaba</groupId>
  231. <artifactId>easyexcel</artifactId>
  232. <version>${easyexcel.version}</version>
  233. <exclusions>
  234. <exclusion>
  235. <groupId>org.apache.poi</groupId>
  236. <artifactId>poi-ooxml-schemas</artifactId>
  237. </exclusion>
  238. </exclusions>
  239. </dependency>
  240. <!-- velocity代码生成使用模板 -->
  241. <dependency>
  242. <groupId>org.apache.velocity</groupId>
  243. <artifactId>velocity-engine-core</artifactId>
  244. <version>${velocity.version}</version>
  245. </dependency>
  246. <!-- 阿里JSON解析器 -->
  247. <dependency>
  248. <groupId>com.alibaba.fastjson2</groupId>
  249. <artifactId>fastjson2</artifactId>
  250. <version>${fastjson.version}</version>
  251. </dependency>
  252. <!-- Token生成与解析-->
  253. <dependency>
  254. <groupId>io.jsonwebtoken</groupId>
  255. <artifactId>jjwt</artifactId>
  256. <version>${jwt.version}</version>
  257. </dependency>
  258. <!-- 验证码 -->
  259. <dependency>
  260. <groupId>pro.fessional</groupId>
  261. <artifactId>kaptcha</artifactId>
  262. <version>${kaptcha.version}</version>
  263. </dependency>
  264. <!-- guava -->
  265. <dependency>
  266. <groupId>com.google.guava</groupId>
  267. <artifactId>guava</artifactId>
  268. <version>${guava.version}</version>
  269. </dependency>
  270. <!-- springdoc -->
  271. <dependency>
  272. <groupId>org.springdoc</groupId>
  273. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  274. <version>${springdoc.version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.springdoc</groupId>
  278. <artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
  279. <version>${springdoc.version}</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>org.springdoc</groupId>
  283. <artifactId>springdoc-openapi-starter-common</artifactId>
  284. <version>${springdoc-openapi-starter-common.version}</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>com.github.therapi</groupId>
  288. <artifactId>therapi-runtime-javadoc</artifactId>
  289. <version>${therapi-runtime-javadoc.version}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>io.github.linpeilie</groupId>
  293. <artifactId>mapstruct-plus-spring-boot-starter</artifactId>
  294. <version>${mapstruct-plus.version}</version>
  295. </dependency>
  296. <!-- lombok-->
  297. <dependency>
  298. <groupId>org.projectlombok</groupId>
  299. <artifactId>lombok</artifactId>
  300. <version>${lombok.version}</version>
  301. </dependency>
  302. <!-- 临时修复 snakeyaml 漏洞 -->
  303. <dependency>
  304. <groupId>org.yaml</groupId>
  305. <artifactId>snakeyaml</artifactId>
  306. <version>${snakeyaml.version}</version>
  307. </dependency>
  308. <!--redisson-->
  309. <dependency>
  310. <groupId>org.redisson</groupId>
  311. <artifactId>redisson-spring-boot-starter</artifactId>
  312. <version>${redisson.version}</version>
  313. </dependency>
  314. <dependency>
  315. <groupId>com.baomidou</groupId>
  316. <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
  317. <version>${lock4j.version}</version>
  318. </dependency>
  319. <!-- 离线IP地址定位库 ip2region -->
  320. <dependency>
  321. <groupId>org.lionsoul</groupId>
  322. <artifactId>ip2region</artifactId>
  323. <version>${ip2region.version}</version>
  324. </dependency>
  325. <!-- 加解密依赖库 -->
  326. <dependency>
  327. <groupId>org.bouncycastle</groupId>
  328. <artifactId>bcprov-jdk18on</artifactId>
  329. <version>${bcprov-jdk.version}</version>
  330. </dependency>
  331. <!--Annotation Processor-->
  332. <dependency>
  333. <groupId>org.springframework.boot</groupId>
  334. <artifactId>spring-boot-configuration-processor</artifactId>
  335. <version>${spring-boot.version}</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>com.alibaba</groupId>
  339. <artifactId>transmittable-thread-local</artifactId>
  340. <version>${alibaba-ttl.version}</version>
  341. </dependency>
  342. <!-- OSS 配置 -->
  343. <!-- AWS SDK for Java 2.x -->
  344. <dependency>
  345. <groupId>software.amazon.awssdk</groupId>
  346. <artifactId>s3</artifactId>
  347. <version>${aws.sdk.version}</version>
  348. </dependency>
  349. <!-- 使用AWS基于 CRT 的 S3 客户端 -->
  350. <dependency>
  351. <groupId>software.amazon.awssdk.crt</groupId>
  352. <artifactId>aws-crt</artifactId>
  353. <version>${aws.crt.version}</version>
  354. </dependency>
  355. <!-- 基于 AWS CRT 的 S3 客户端的性能增强的 S3 传输管理器 -->
  356. <dependency>
  357. <groupId>software.amazon.awssdk</groupId>
  358. <artifactId>s3-transfer-manager</artifactId>
  359. <version>${aws.sdk.version}</version>
  360. </dependency>
  361. <!-- spring-boot-admin监控-->
  362. <dependency>
  363. <groupId>de.codecentric</groupId>
  364. <artifactId>spring-boot-admin-starter-server</artifactId>
  365. <version>${spring-boot-admin.version}</version>
  366. </dependency>
  367. <dependency>
  368. <groupId>de.codecentric</groupId>
  369. <artifactId>spring-boot-admin-starter-client</artifactId>
  370. <version>${spring-boot-admin.version}</version>
  371. </dependency>
  372. <!-- PowerJob -->
  373. <dependency>
  374. <groupId>tech.powerjob</groupId>
  375. <artifactId>powerjob-worker-spring-boot-starter</artifactId>
  376. <version>${powerjob.version}</version>
  377. </dependency>
  378. <dependency>
  379. <groupId>tech.powerjob</groupId>
  380. <artifactId>powerjob-official-processors</artifactId>
  381. <version>${powerjob.version}</version>
  382. </dependency>
  383. <!-- PowerJob定时任务处理器-->
  384. <dependency>
  385. <groupId>org.eco</groupId>
  386. <artifactId>job</artifactId>
  387. <version>${revision}</version>
  388. </dependency>
  389. <!-- 代码生成-->
  390. <dependency>
  391. <groupId>org.eco</groupId>
  392. <artifactId>generator</artifactId>
  393. <version>${revision}</version>
  394. </dependency>
  395. <!-- 系统模块-->
  396. <dependency>
  397. <groupId>org.eco</groupId>
  398. <artifactId>system</artifactId>
  399. <version>${revision}</version>
  400. </dependency>
  401. <!-- 灵巧保障模块-->
  402. <dependency>
  403. <groupId>org.eco</groupId>
  404. <artifactId>agile-assurance</artifactId>
  405. <version>${revision}</version>
  406. </dependency>
  407. <!-- es配置-->
  408. <dependency>
  409. <groupId>org.elasticsearch.client</groupId>
  410. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  411. <version>${es.version}</version>
  412. </dependency>
  413. <dependency>
  414. <groupId>org.elasticsearch.client</groupId>
  415. <artifactId>elasticsearch-rest-client</artifactId>
  416. <version>${es.version}</version>
  417. </dependency>
  418. <dependency>
  419. <groupId>org.elasticsearch</groupId>
  420. <artifactId>elasticsearch</artifactId>
  421. <version>${es.version}</version>
  422. </dependency>
  423. <dependency>
  424. <groupId>org.dromara.easy-es</groupId>
  425. <artifactId>easy-es-boot-starter</artifactId>
  426. <version>${easy-es.version}</version>
  427. </dependency>
  428. </dependencies>
  429. </dependencyManagement>
  430. <modules>
  431. <module>als-start</module>
  432. <module>als-common</module>
  433. <module>als-extra</module>
  434. <module>als-modules</module>
  435. </modules>
  436. <packaging>pom</packaging>
  437. <build>
  438. <plugins>
  439. <plugin>
  440. <groupId>org.apache.maven.plugins</groupId>
  441. <artifactId>maven-compiler-plugin</artifactId>
  442. <version>${maven-compiler-plugin.verison}</version>
  443. <configuration>
  444. <source>${java.version}</source>
  445. <target>${java.version}</target>
  446. <encoding>${project.build.sourceEncoding}</encoding>
  447. <annotationProcessorPaths>
  448. <path>
  449. <groupId>com.github.therapi</groupId>
  450. <artifactId>therapi-runtime-javadoc-scribe</artifactId>
  451. <version>${therapi-runtime-javadoc.version}</version>
  452. </path>
  453. <path>
  454. <groupId>org.projectlombok</groupId>
  455. <artifactId>lombok</artifactId>
  456. <version>${lombok.version}</version>
  457. </path>
  458. <path>
  459. <groupId>org.springframework.boot</groupId>
  460. <artifactId>spring-boot-configuration-processor</artifactId>
  461. <version>${spring-boot.version}</version>
  462. </path>
  463. <path>
  464. <groupId>io.github.linpeilie</groupId>
  465. <artifactId>mapstruct-plus-processor</artifactId>
  466. <version>${mapstruct-plus.version}</version>
  467. </path>
  468. <path>
  469. <groupId>org.projectlombok</groupId>
  470. <artifactId>lombok-mapstruct-binding</artifactId>
  471. <version>${mapstruct-plus.lombok.version}</version>
  472. </path>
  473. <path>
  474. <groupId>com.mybatis-flex</groupId>
  475. <artifactId>mybatis-flex-processor</artifactId>
  476. <version>${mybatis-flex.version}</version>
  477. </path>
  478. </annotationProcessorPaths>
  479. <compilerArgs>
  480. <arg>-parameters</arg>
  481. </compilerArgs>
  482. </configuration>
  483. </plugin>
  484. <!-- 版本号集中管理 -->
  485. <plugin>
  486. <groupId>org.codehaus.mojo</groupId>
  487. <artifactId>flatten-maven-plugin</artifactId>
  488. <version>${flatten-maven-plugin.version}</version>
  489. <configuration>
  490. <updatePomFile>true</updatePomFile>
  491. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  492. </configuration>
  493. <executions>
  494. <!-- enable flattening -->
  495. <execution>
  496. <id>flatten</id>
  497. <phase>process-resources</phase>
  498. <goals>
  499. <goal>flatten</goal>
  500. </goals>
  501. </execution>
  502. <!-- ensure proper cleanup -->
  503. <execution>
  504. <id>flatten.clean</id>
  505. <phase>clean</phase>
  506. <goals>
  507. <goal>clean</goal>
  508. </goals>
  509. </execution>
  510. </executions>
  511. </plugin>
  512. </plugins>
  513. <resources>
  514. <resource>
  515. <directory>src/main/resources</directory>
  516. <!-- 关闭过滤 -->
  517. <filtering>false</filtering>
  518. </resource>
  519. <resource>
  520. <directory>src/main/resources</directory>
  521. <!-- 引入所有 匹配文件进行过滤 -->
  522. <includes>
  523. <include>application*</include>
  524. <include>bootstrap*</include>
  525. <include>banner*</include>
  526. </includes>
  527. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  528. <filtering>true</filtering>
  529. </resource>
  530. </resources>
  531. </build>
  532. <repositories>
  533. <repository>
  534. <id>public</id>
  535. <name>huawei nexus</name>
  536. <url>https://mirrors.huaweicloud.com/repository/maven/</url>
  537. <releases>
  538. <enabled>true</enabled>
  539. </releases>
  540. </repository>
  541. </repositories>
  542. <pluginRepositories>
  543. <pluginRepository>
  544. <id>public</id>
  545. <name>huawei nexus</name>
  546. <url>https://mirrors.huaweicloud.com/repository/maven/</url>
  547. <releases>
  548. <enabled>true</enabled>
  549. </releases>
  550. <snapshots>
  551. <enabled>false</enabled>
  552. </snapshots>
  553. </pluginRepository>
  554. </pluginRepositories>
  555. </project>