Skip to content

Commit 219e268

Browse files
committed
Flatten repositories from JEP-229 plugins
This workarounds mojohaus/flatten-maven-plugin#362 and strips <repositories> from deployed pom for plugins using JEP-229
1 parent e46655d commit 219e268

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,9 @@
13381338
<flattenMode>oss</flattenMode>
13391339
<outputDirectory>${project.build.directory}</outputDirectory>
13401340
<flattenedPomFilename>${project.artifactId}-${project.version}.pom</flattenedPomFilename>
1341+
<pomElements>
1342+
<repositories>flatten</repositories>
1343+
</pomElements>
13411344
</configuration>
13421345
</execution>
13431346
</executions>

0 commit comments

Comments
 (0)