Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat: add maven flatten plugin (#127)
  • Loading branch information
stephaniewang526 committed Apr 7, 2020
1 parent 0f3813e commit fb00799
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pom.xml
Expand Up @@ -204,6 +204,36 @@
<verbose>true</verbose>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.2.2</version>
<executions>
<!-- enable flattening -->
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<!-- ensure proper cleanup -->
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
<configuration>
<flattenMode>oss</flattenMode>
<flattenDependencyMode>all</flattenDependencyMode>
<pomElements>
<build>remove</build>
</pomElements>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down

0 comments on commit fb00799

Please sign in to comment.