Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit 0f4f4e8

Browse files
Matthias BöckmannMatthias Böckmann
authored andcommitted
pom.xml edited online with Bitbucket
Adding Maven Flatten plugin to make sure that the revision variable is set correctly in published artifact
1 parent e592b97 commit 0f4f4e8

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,30 @@
1717
<target>11</target>
1818
</configuration>
1919
</plugin>
20+
<plugin>
21+
<groupId>org.codehaus.mojo</groupId>
22+
<artifactId>flatten-maven-plugin</artifactId>
23+
<version>1.2.2</version>
24+
<configuration>
25+
<updatePomFile>true</updatePomFile>
26+
</configuration>
27+
<executions>
28+
<execution>
29+
<id>flatten</id>
30+
<phase>process-resources</phase>
31+
<goals>
32+
<goal>flatten</goal>
33+
</goals>
34+
</execution>
35+
<execution>
36+
<id>flatten.clean</id>
37+
<phase>clean</phase>
38+
<goals>
39+
<goal>clean</goal>
40+
</goals>
41+
</execution>
42+
</executions>
43+
</plugin>
2044
</plugins>
2145
</build>
2246
<properties>

0 commit comments

Comments
 (0)