summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangkuan <[email protected]>2024-10-31 18:12:09 +0800
committerwangkuan <[email protected]>2024-10-31 18:12:09 +0800
commit191e2be76a5342f45f875a4bb48188756ffe966d (patch)
tree24c524dfb98081f7fc972cf8bdc9424d618f7cf4
parent0914a486a7b8cb122198de427a24123b1f991c97 (diff)
[test][bootstrap]测试打包
-rw-r--r--pom.xml21
1 files changed, 19 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index c0432ec..6bc3a92 100644
--- a/pom.xml
+++ b/pom.xml
@@ -637,7 +637,7 @@
</plugin>
<!-- make sure that flatten runs after shaded -->
- <plugin>
+ <!--<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
@@ -661,8 +661,25 @@
<phase>clean</phase>
</execution>
</executions>
+ </plugin>-->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>flatten-maven-plugin</artifactId>
+ <version>${flatten-maven-plugin.version}</version>
+ <configuration>
+ <updatePomFile>true</updatePomFile>
+ <flattenMode>resolveCiFriendliesOnly</flattenMode>
+ </configuration>
+ <executions>
+ <execution>
+ <id>flatten</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>flatten</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>