Skip to content

Commit

Permalink
Add org.codehaus.mojo:flatten-maven-plugin (fixes issue kitodo#6153)
Browse files Browse the repository at this point in the history
This plugin is required for the Maven CI friendly multi module setup,
see https://maven.apache.org/maven-ci-friendly.html#install-deploy.

Fixes: 144b93f ("Use special property `revision` to set the version only once")
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Aug 9, 2024
1 parent c68329e commit 3994fa2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,31 @@ from system library in Java 11+ -->
-->
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</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>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 3994fa2

Please sign in to comment.