pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.eco.vip</groupId>
  5. <artifactId>eco-bom</artifactId>
  6. <packaging>pom</packaging>
  7. <name>${project.artifactId}</name>
  8. <version>${revision}</version>
  9. <description>
  10. eco-bom 全局依赖项
  11. </description>
  12. <properties>
  13. <!-- 系统版本 -->
  14. <revision>1.0.0</revision>
  15. <spring-boot.version>3.4.3</spring-boot.version>
  16. <maven.compiler.source>${java.version}</maven.compiler.source>
  17. <maven.compiler.target>${java.version}</maven.compiler.target>
  18. <flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
  19. <lombok.version>1.18.36</lombok.version>
  20. <mybatis-flex.version>1.10.9</mybatis-flex.version>
  21. <HikariCP.version>6.2.1</HikariCP.version>
  22. <hutool-5.version>5.8.36</hutool-5.version>
  23. <easy-trans.version>3.0.6</easy-trans.version>
  24. <jackson.version>2.18.3</jackson.version>
  25. <jakarta.version>6.1.0</jakarta.version>
  26. <easy-trans.version>3.0.6</easy-trans.version>
  27. <deepseek4j.version>1.4.5</deepseek4j.version>
  28. <milvus.version>2.5.5</milvus.version>
  29. <jsqlparser.version>5.1</jsqlparser.version>
  30. <DmJdbcDriver18.version>8.1.3.140</DmJdbcDriver18.version>
  31. </properties>
  32. <!-- 全局的依赖配置-->
  33. <dependencyManagement>
  34. <dependencies>
  35. <!-- spring-boot-->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-dependencies</artifactId>
  39. <version>${spring-boot.version}</version>
  40. <type>pom</type>
  41. <scope>import</scope>
  42. </dependency>
  43. <!-- https://mvnrepository.com/artifact/jakarta.servlet/jakarta.servlet-api -->
  44. <dependency>
  45. <groupId>jakarta.servlet</groupId>
  46. <artifactId>jakarta.servlet-api</artifactId>
  47. <version>${jakarta.version}</version>
  48. </dependency>
  49. <!-- com-web -->
  50. <dependency>
  51. <groupId>org.eco.vip</groupId>
  52. <artifactId>com-web</artifactId>
  53. <version>${revision}</version>
  54. </dependency>
  55. <!-- com-core -->
  56. <dependency>
  57. <groupId>org.eco.vip</groupId>
  58. <artifactId>com-core</artifactId>
  59. <version>${revision}</version>
  60. </dependency>
  61. <!-- com-core -->
  62. <dependency>
  63. <groupId>org.eco.vip</groupId>
  64. <artifactId>com-orm</artifactId>
  65. <version>${revision}</version>
  66. </dependency>
  67. <!-- lombok -->
  68. <dependency>
  69. <groupId>org.projectlombok</groupId>
  70. <artifactId>lombok</artifactId>
  71. <version>${lombok.version}</version>
  72. </dependency>
  73. <!-- mybatis-flex -->
  74. <dependency>
  75. <groupId>com.mybatis-flex</groupId>
  76. <artifactId>mybatis-flex-spring-boot3-starter</artifactId>
  77. <version>${mybatis-flex.version}</version>
  78. </dependency>
  79. <!-- 数据库连接池-->
  80. <dependency>
  81. <groupId>com.zaxxer</groupId>
  82. <artifactId>HikariCP</artifactId>
  83. <version>${HikariCP.version}</version>
  84. </dependency>
  85. <!-- hutool 的依赖配置-->
  86. <dependency>
  87. <groupId>cn.hutool</groupId>
  88. <artifactId>hutool-all</artifactId>
  89. <version>${hutool-5.version}</version>
  90. </dependency>
  91. <!-- JSON工具类 -->
  92. <dependency>
  93. <groupId>com.fasterxml.jackson.core</groupId>
  94. <artifactId>jackson-databind</artifactId>
  95. <version>${jackson.version}</version>
  96. </dependency>
  97. <!-- easy-trans 注解翻译 -->
  98. <dependency>
  99. <groupId>com.fhs-opensource</groupId>
  100. <artifactId>easy-trans-spring-boot-starter</artifactId>
  101. <version>${easy-trans.version}</version>
  102. </dependency>
  103. <!-- easy-trans-mybatis-plus-extend -->
  104. <dependency>
  105. <groupId>com.fhs-opensource</groupId>
  106. <artifactId>easy-trans-mybatis-flex-extend</artifactId>
  107. <version>${easy-trans.version}</version>
  108. </dependency>
  109. <!-- https://mvnrepository.com/artifact/com.dameng/DmJdbcDriver18 -->
  110. <dependency>
  111. <groupId>com.dameng</groupId>
  112. <artifactId>DmJdbcDriver18</artifactId>
  113. <version>${DmJdbcDriver18.version}</version>
  114. </dependency>
  115. </dependencies>
  116. </dependencyManagement>
  117. <build>
  118. <plugins>
  119. <!-- 统一 revision 版本 -->
  120. <plugin>
  121. <groupId>org.codehaus.mojo</groupId>
  122. <artifactId>flatten-maven-plugin</artifactId>
  123. <version>${flatten-maven-plugin.version}</version>
  124. <configuration>
  125. <flattenMode>bom</flattenMode>
  126. <updatePomFile>true</updatePomFile>
  127. </configuration>
  128. <executions>
  129. <execution>
  130. <goals>
  131. <goal>flatten</goal>
  132. </goals>
  133. <id>flatten</id>
  134. <phase>process-resources</phase>
  135. </execution>
  136. <execution>
  137. <goals>
  138. <goal>clean</goal>
  139. </goals>
  140. <id>flatten.clean</id>
  141. <phase>clean</phase>
  142. </execution>
  143. </executions>
  144. </plugin>
  145. </plugins>
  146. </build>
  147. </project>