.flattened-pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.cdm</groupId>
  6. <artifactId>cdm</artifactId>
  7. <version>2.0.0-jdk8-snapshot</version>
  8. <packaging>pom</packaging>
  9. <name>${project.artifactId}</name>
  10. <description>芋道项目基础脚手架</description>
  11. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  12. <modules>
  13. <module>cdm-dependencies</module>
  14. <module>cdm-framework</module>
  15. <module>cdm-server</module>
  16. <module>cdm-module-system</module>
  17. <module>cdm-module-infra</module>
  18. </modules>
  19. <properties>
  20. <lombok.version>1.18.30</lombok.version>
  21. <maven.compiler.target>${java.version}</maven.compiler.target>
  22. <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
  23. <java.version>1.8</java.version>
  24. <maven.compiler.source>${java.version}</maven.compiler.source>
  25. <mapstruct.version>1.5.5.Final</mapstruct.version>
  26. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  27. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  28. <spring.boot.version>2.7.17</spring.boot.version>
  29. <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
  30. <revision>2.0.0-jdk8-snapshot</revision>
  31. </properties>
  32. <dependencyManagement>
  33. <dependencies>
  34. <dependency>
  35. <groupId>com.cdm</groupId>
  36. <artifactId>cdm-dependencies</artifactId>
  37. <version>2.0.0-jdk8-snapshot</version>
  38. <type>pom</type>
  39. <scope>import</scope>
  40. </dependency>
  41. </dependencies>
  42. </dependencyManagement>
  43. <repositories>
  44. <repository>
  45. <id>huaweicloud</id>
  46. <name>huawei</name>
  47. <url>https://mirrors.huaweicloud.com/repository/maven/</url>
  48. </repository>
  49. <repository>
  50. <id>aliyunmaven</id>
  51. <name>aliyun</name>
  52. <url>https://maven.aliyun.com/repository/public</url>
  53. </repository>
  54. </repositories>
  55. <build>
  56. <pluginManagement>
  57. <plugins>
  58. <plugin>
  59. <artifactId>maven-surefire-plugin</artifactId>
  60. <version>${maven-surefire-plugin.version}</version>
  61. </plugin>
  62. <plugin>
  63. <artifactId>maven-compiler-plugin</artifactId>
  64. <version>${maven-compiler-plugin.version}</version>
  65. <configuration>
  66. <annotationProcessorPaths>
  67. <path>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-configuration-processor</artifactId>
  70. <version>${spring.boot.version}</version>
  71. </path>
  72. <path>
  73. <groupId>org.projectlombok</groupId>
  74. <artifactId>lombok</artifactId>
  75. <version>${lombok.version}</version>
  76. </path>
  77. <path>
  78. <groupId>org.mapstruct</groupId>
  79. <artifactId>mapstruct-processor</artifactId>
  80. <version>${mapstruct.version}</version>
  81. </path>
  82. </annotationProcessorPaths>
  83. </configuration>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.codehaus.mojo</groupId>
  87. <artifactId>flatten-maven-plugin</artifactId>
  88. </plugin>
  89. </plugins>
  90. </pluginManagement>
  91. <plugins>
  92. <plugin>
  93. <groupId>org.codehaus.mojo</groupId>
  94. <artifactId>flatten-maven-plugin</artifactId>
  95. <version>${flatten-maven-plugin.version}</version>
  96. <executions>
  97. <execution>
  98. <id>flatten</id>
  99. <phase>process-resources</phase>
  100. <goals>
  101. <goal>flatten</goal>
  102. </goals>
  103. </execution>
  104. <execution>
  105. <id>flatten.clean</id>
  106. <phase>clean</phase>
  107. <goals>
  108. <goal>clean</goal>
  109. </goals>
  110. </execution>
  111. </executions>
  112. <configuration>
  113. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  114. <updatePomFile>true</updatePomFile>
  115. </configuration>
  116. </plugin>
  117. </plugins>
  118. </build>
  119. </project>