Skip to content

Commit c7eec5c

Browse files
authored
Flatten pom file to make artefact consumable (#39)
1 parent 575a7e8 commit c7eec5c

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

pom.xml

+25-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,31 @@
7070
</execution>
7171
</executions>
7272
</plugin>
73-
73+
<plugin>
74+
<groupId>org.codehaus.mojo</groupId>
75+
<artifactId>flatten-maven-plugin</artifactId>
76+
<version>1.2.5</version>
77+
<configuration>
78+
<updatePomFile>true</updatePomFile>
79+
<flattenMode>resolveCiFriendliesOnly</flattenMode>
80+
</configuration>
81+
<executions>
82+
<execution>
83+
<id>flatten</id>
84+
<phase>process-resources</phase>
85+
<goals>
86+
<goal>flatten</goal>
87+
</goals>
88+
</execution>
89+
<execution>
90+
<id>flatten.clean</id>
91+
<phase>clean</phase>
92+
<goals>
93+
<goal>clean</goal>
94+
</goals>
95+
</execution>
96+
</executions>
97+
</plugin>
7498
</plugins>
7599

76100
<resources>

0 commit comments

Comments
 (0)