.flattened-pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. <module>cdm-module-member</module>
  19. <module>cdm-module-report</module>
  20. <module>cdm-module-pay</module>
  21. <module>cdm-module-mall</module>
  22. </modules>
  23. <properties>
  24. <lombok.version>1.18.30</lombok.version>
  25. <maven.compiler.target>${java.version}</maven.compiler.target>
  26. <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
  27. <java.version>17</java.version>
  28. <maven.compiler.source>${java.version}</maven.compiler.source>
  29. <mapstruct.version>1.5.5.Final</mapstruct.version>
  30. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  31. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  32. <spring.boot.version>2.7.17</spring.boot.version>
  33. <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
  34. <revision>2.0.0-jdk8-snapshot</revision>
  35. </properties>
  36. <dependencyManagement>
  37. <dependencies>
  38. <dependency>
  39. <groupId>com.cdm</groupId>
  40. <artifactId>cdm-dependencies</artifactId>
  41. <version>2.0.0-jdk8-snapshot</version>
  42. <type>pom</type>
  43. <scope>import</scope>
  44. </dependency>
  45. </dependencies>
  46. </dependencyManagement>
  47. <repositories>
  48. <repository>
  49. <id>huaweicloud</id>
  50. <name>huawei</name>
  51. <url>https://mirrors.huaweicloud.com/repository/maven/</url>
  52. </repository>
  53. <repository>
  54. <id>aliyunmaven</id>
  55. <name>aliyun</name>
  56. <url>https://maven.aliyun.com/repository/public</url>
  57. </repository>
  58. </repositories>
  59. <build>
  60. <pluginManagement>
  61. <plugins>
  62. <plugin>
  63. <artifactId>maven-surefire-plugin</artifactId>
  64. <version>${maven-surefire-plugin.version}</version>
  65. </plugin>
  66. <plugin>
  67. <artifactId>maven-compiler-plugin</artifactId>
  68. <version>${maven-compiler-plugin.version}</version>
  69. <configuration>
  70. <annotationProcessorPaths>
  71. <path>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-configuration-processor</artifactId>
  74. <version>${spring.boot.version}</version>
  75. </path>
  76. <path>
  77. <groupId>org.projectlombok</groupId>
  78. <artifactId>lombok</artifactId>
  79. <version>${lombok.version}</version>
  80. </path>
  81. <path>
  82. <groupId>org.mapstruct</groupId>
  83. <artifactId>mapstruct-processor</artifactId>
  84. <version>${mapstruct.version}</version>
  85. </path>
  86. </annotationProcessorPaths>
  87. </configuration>
  88. </plugin>
  89. <plugin>
  90. <groupId>org.codehaus.mojo</groupId>
  91. <artifactId>flatten-maven-plugin</artifactId>
  92. </plugin>
  93. </plugins>
  94. </pluginManagement>
  95. <plugins>
  96. <plugin>
  97. <groupId>org.codehaus.mojo</groupId>
  98. <artifactId>flatten-maven-plugin</artifactId>
  99. <version>${flatten-maven-plugin.version}</version>
  100. <executions>
  101. <execution>
  102. <id>flatten</id>
  103. <phase>process-resources</phase>
  104. <goals>
  105. <goal>flatten</goal>
  106. </goals>
  107. </execution>
  108. <execution>
  109. <id>flatten.clean</id>
  110. <phase>clean</phase>
  111. <goals>
  112. <goal>clean</goal>
  113. </goals>
  114. </execution>
  115. </executions>
  116. <configuration>
  117. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  118. <updatePomFile>true</updatePomFile>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>