Skip to content

Commit 83330b9

Browse files
committed
[ci skip] Adding flatten plugin to bom project
1 parent 69e91bb commit 83330b9

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ target
1313
classes/
1414
lib/
1515
rest-assured-all/dependency-reduced-pom.xml
16+
.flattened-pom.xml

rest-assured-bom/pom.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,41 @@
4040
</developer>
4141
</developers>
4242

43+
<build>
44+
<plugins>
45+
<plugin>
46+
<groupId>org.codehaus.mojo</groupId>
47+
<artifactId>flatten-maven-plugin</artifactId>
48+
<version>1.6.0</version>
49+
<executions>
50+
<execution>
51+
<id>flatten</id>
52+
<phase>process-resources</phase>
53+
<goals>
54+
<goal>flatten</goal>
55+
</goals>
56+
<configuration>
57+
<updatePomFile>true</updatePomFile>
58+
<flattenMode>bom</flattenMode>
59+
<pomElements>
60+
<pluginManagement>keep</pluginManagement>
61+
<properties>keep</properties>
62+
<repositories>remove</repositories>
63+
</pomElements>
64+
</configuration>
65+
</execution>
66+
<execution>
67+
<id>flatten-clean</id>
68+
<phase>clean</phase>
69+
<goals>
70+
<goal>clean</goal>
71+
</goals>
72+
</execution>
73+
</executions>
74+
</plugin>
75+
</plugins>
76+
</build>
77+
4378
<dependencyManagement>
4479
<dependencies>
4580
<dependency>

0 commit comments

Comments
 (0)