Skip to content

Commit

Permalink
Merge pull request #266 from camunda-community-hub/np-flatten-pom
Browse files Browse the repository at this point in the history
Flatten deployed POM
  • Loading branch information
npepinpe authored Feb 9, 2022
2 parents bcfd522 + 3371b1c commit 4d1aa6f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@

<!-- maven extensions -->
<extension.version.os-maven-plugin>1.6.1</extension.version.os-maven-plugin>
<plugin.version.flatten>1.2.2</plugin.version.flatten>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -465,6 +466,36 @@
</execution>
</executions>
</plugin>

<!--
generate a simplified POM; this is very useful for projects consuming
zeebe-test-container, as it will simplify dependency convergence for these projects
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${plugin.version.flatten}</version>
<configuration>
<flattenMode>ossrh</flattenMode>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
<executions>
<execution>
<id>flatten</id>
<goals>
<goal>flatten</goal>
</goals>
<phase>process-resources</phase>
</execution>
<execution>
<id>flatten.clean</id>
<goals>
<goal>clean</goal>
</goals>
<phase>clean</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 4d1aa6f

Please sign in to comment.