Skip to content

Commit 230893a

Browse files
committed
re-add flatten-maven-plugin
1 parent ddf5cf6 commit 230893a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

pom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,6 +1048,31 @@
10481048
<autoPublish>false</autoPublish>
10491049
</configuration>
10501050
</plugin>
1051+
<!-- flatten POM files to resolve dependency version information stored in BOMs -->
1052+
<plugin>
1053+
<groupId>org.codehaus.mojo</groupId>
1054+
<artifactId>flatten-maven-plugin</artifactId>
1055+
<version>1.7.1</version>
1056+
<executions>
1057+
<execution>
1058+
<id>flatten</id>
1059+
<phase>process-resources</phase>
1060+
<goals>
1061+
<goal>flatten</goal>
1062+
</goals>
1063+
</execution>
1064+
<execution>
1065+
<id>flatten.clean</id>
1066+
<goals>
1067+
<goal>clean</goal>
1068+
</goals>
1069+
</execution>
1070+
</executions>
1071+
<configuration>
1072+
<!-- pre-defined config for open source projects -->
1073+
<flattenMode>oss</flattenMode>
1074+
</configuration>
1075+
</plugin>
10511076
</plugins>
10521077
</pluginManagement>
10531078
<plugins>
@@ -1089,6 +1114,10 @@
10891114
<groupId>org.apache.maven.plugins</groupId>
10901115
<artifactId>maven-gpg-plugin</artifactId>
10911116
</plugin>
1117+
<plugin>
1118+
<groupId>org.codehaus.mojo</groupId>
1119+
<artifactId>flatten-maven-plugin</artifactId>
1120+
</plugin>
10921121
<!-- The plugins configuration below will not be inherited by children projects, they are specific to the parent pom -->
10931122
<plugin>
10941123
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)