Update flatten plugin

This commit is contained in:
Andrea Cavalli 2022-05-11 09:46:52 +02:00
parent 38e9f497c5
commit c355136703
1 changed files with 16 additions and 4 deletions

View File

@ -21,14 +21,26 @@
<build>
<plugins>
<plugin>
<groupId>com.outbrain.swinfra</groupId>
<artifactId>ci-friendly-flatten-maven-plugin</artifactId>
<version>1.0.14</version>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
<goal>flatten</goal>
</goals>
</execution>
</executions>