pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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.8</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. </properties>
  26. <!-- 全局的依赖配置-->
  27. <dependencyManagement>
  28. <dependencies>
  29. <!-- spring-boot-->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-dependencies</artifactId>
  33. <version>${spring-boot.version}</version>
  34. <type>pom</type>
  35. <scope>import</scope>
  36. </dependency>
  37. <!-- com-web -->
  38. <dependency>
  39. <groupId>org.eco.vip</groupId>
  40. <artifactId>com-web</artifactId>
  41. <version>${revision}</version>
  42. </dependency>
  43. <!-- com-core -->
  44. <dependency>
  45. <groupId>org.eco.vip</groupId>
  46. <artifactId>com-core</artifactId>
  47. <version>${revision}</version>
  48. </dependency>
  49. <!-- com-core -->
  50. <dependency>
  51. <groupId>org.eco.vip</groupId>
  52. <artifactId>com-orm</artifactId>
  53. <version>${revision}</version>
  54. </dependency>
  55. <!-- lombok -->
  56. <dependency>
  57. <groupId>org.projectlombok</groupId>
  58. <artifactId>lombok</artifactId>
  59. <version>${lombok.version}</version>
  60. </dependency>
  61. <!-- mybatis-flex -->
  62. <dependency>
  63. <groupId>com.mybatis-flex</groupId>
  64. <artifactId>mybatis-flex-spring-boot3-starter</artifactId>
  65. <version>${mybatis-flex.version}</version>
  66. </dependency>
  67. <!-- 数据库连接池-->
  68. <dependency>
  69. <groupId>com.zaxxer</groupId>
  70. <artifactId>HikariCP</artifactId>
  71. <version>${HikariCP.version}</version>
  72. </dependency>
  73. <!-- hutool 的依赖配置-->
  74. <dependency>
  75. <groupId>cn.hutool</groupId>
  76. <artifactId>hutool-all</artifactId>
  77. <version>${hutool-5.version}</version>
  78. </dependency>
  79. <!-- JSON工具类 -->
  80. <dependency>
  81. <groupId>com.fasterxml.jackson.core</groupId>
  82. <artifactId>jackson-databind</artifactId>
  83. <version>${jackson.version}</version>
  84. </dependency>
  85. </dependencies>
  86. </dependencyManagement>
  87. <build>
  88. <plugins>
  89. <!-- 统一 revision 版本 -->
  90. <plugin>
  91. <groupId>org.codehaus.mojo</groupId>
  92. <artifactId>flatten-maven-plugin</artifactId>
  93. <version>${flatten-maven-plugin.version}</version>
  94. <configuration>
  95. <flattenMode>bom</flattenMode>
  96. <updatePomFile>true</updatePomFile>
  97. </configuration>
  98. <executions>
  99. <execution>
  100. <goals>
  101. <goal>flatten</goal>
  102. </goals>
  103. <id>flatten</id>
  104. <phase>process-resources</phase>
  105. </execution>
  106. <execution>
  107. <goals>
  108. <goal>clean</goal>
  109. </goals>
  110. <id>flatten.clean</id>
  111. <phase>clean</phase>
  112. </execution>
  113. </executions>
  114. </plugin>
  115. </plugins>
  116. </build>
  117. </project>