Skip to content

Commit a9dfda5

Browse files
authored
Update pom.xml
1 parent c4cd7da commit a9dfda5

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

  • meta-component/sdk-maven-artifact

meta-component/sdk-maven-artifact/pom.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,36 @@
107107
<target>${java.version}</target>
108108
</configuration>
109109
</plugin>
110+
111+
112+
<plugin>
113+
<groupId>org.codehaus.mojo</groupId>
114+
<artifactId>flatten-maven-plugin</artifactId>
115+
<version>${flatten-maven-plugin.version}</version>
116+
<configuration>
117+
<!-- 是否更新pom文件,此处还有更高级的用法-->
118+
<updatePomFile>true</updatePomFile>
119+
<flattenMode>resolveCiFriendliesOnly</flattenMode>
120+
</configuration>
121+
<executions>
122+
<execution>
123+
<id>flatten</id>
124+
<phase>process-resources</phase>
125+
<goals>
126+
<goal>flatten</goal>
127+
</goals>
128+
</execution>
129+
<execution>
130+
<id>flatten.clean</id>
131+
<phase>clean</phase>
132+
<goals>
133+
<goal>clean</goal>
134+
</goals>
135+
</execution>
136+
</executions>
137+
</plugin>
138+
139+
110140
</plugins>
111141
</build>
112142
</project>

0 commit comments

Comments
 (0)