【依赖优化】flattenMode 按需调整成 bom 和 oss

This commit is contained in:
YunaiV 2024-10-01 16:41:30 +08:00
parent 0acda7e874
commit 222e849202
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@
<artifactId>flatten-maven-plugin</artifactId> <artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version> <version>${flatten-maven-plugin.version}</version>
<configuration> <configuration>
<flattenMode>resolveCiFriendliesOnly</flattenMode> <flattenMode>oss</flattenMode>
<updatePomFile>true</updatePomFile> <updatePomFile>true</updatePomFile>
</configuration> </configuration>
<executions> <executions>

View File

@ -607,7 +607,7 @@
<artifactId>flatten-maven-plugin</artifactId> <artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version> <version>${flatten-maven-plugin.version}</version>
<configuration> <configuration>
<flattenMode>resolveCiFriendliesOnly</flattenMode> <flattenMode>bom</flattenMode>
<updatePomFile>true</updatePomFile> <updatePomFile>true</updatePomFile>
</configuration> </configuration>
<executions> <executions>