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> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>com.outbrain.swinfra</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>ci-friendly-flatten-maven-plugin</artifactId> <artifactId>flatten-maven-plugin</artifactId>
<version>1.0.14</version> <version>1.1.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
</configuration>
<executions> <executions>
<execution> <execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals> <goals>
<goal>clean</goal> <goal>clean</goal>
<goal>flatten</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>