|
@@ -18,6 +18,8 @@
|
|
|
<spring-boot.version>3.4.3</spring-boot.version>
|
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
|
+ <flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
|
|
|
+
|
|
|
<lombok.version>1.18.36</lombok.version>
|
|
|
<mybatis-flex.version>1.10.8</mybatis-flex.version>
|
|
|
<HikariCP.version>6.2.1</HikariCP.version>
|
|
@@ -97,4 +99,35 @@
|
|
|
|
|
|
</dependencies>
|
|
|
</dependencyManagement>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <!-- 统一 revision 版本 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>flatten-maven-plugin</artifactId>
|
|
|
+ <version>${flatten-maven-plugin.version}</version>
|
|
|
+ <configuration>
|
|
|
+ <flattenMode>bom</flattenMode>
|
|
|
+ <updatePomFile>true</updatePomFile>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>flatten</goal>
|
|
|
+ </goals>
|
|
|
+ <id>flatten</id>
|
|
|
+ <phase>process-resources</phase>
|
|
|
+ </execution>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>clean</goal>
|
|
|
+ </goals>
|
|
|
+ <id>flatten.clean</id>
|
|
|
+ <phase>clean</phase>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
</project>
|