Added maven flatten plugin

This commit is contained in:
Marcin Grzejszczak
2019-11-07 14:35:15 +01:00
parent 908cbcbbfe
commit b5ebd93a27

25
pom.xml
View File

@@ -70,31 +70,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.0.0</version>
<configuration>
<flattenMode>oss</flattenMode>
<pomElements>
<repositories>flatten</repositories>
</pomElements>
</configuration>
<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>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>