Skip to content

Commit af26abe

Browse files
committed
build: add maven flatten plugin
1 parent d6c2bc2 commit af26abe

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,31 @@
165165
<artifactId>maven-site-plugin</artifactId>
166166
<version>3.12.1</version>
167167
</plugin>
168+
<plugin>
169+
<groupId>org.codehaus.mojo</groupId>
170+
<artifactId>flatten-maven-plugin</artifactId>
171+
<version>1.6.0</version>
172+
<configuration>
173+
<updatePomFile>true</updatePomFile>
174+
<flattenMode>resolveCiFriendliesOnly</flattenMode>
175+
</configuration>
176+
<executions>
177+
<execution>
178+
<id>flatten</id>
179+
<phase>initialize</phase>
180+
<goals>
181+
<goal>flatten</goal>
182+
</goals>
183+
</execution>
184+
<execution>
185+
<id>clean</id>
186+
<phase>clean</phase>
187+
<goals>
188+
<goal>clean</goal>
189+
</goals>
190+
</execution>
191+
</executions>
192+
</plugin>
168193
</plugins>
169194
</build>
170195

0 commit comments

Comments
 (0)