Skip to content

Commit

Permalink
Flatten repositories from JEP-229 plugins
Browse files Browse the repository at this point in the history
This workarounds mojohaus/flatten-maven-plugin#362

and strips <repositories> from deployed pom for plugins using JEP-229
  • Loading branch information
Vlatombe committed Jul 6, 2023
1 parent e46655d commit 219e268
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1338,6 +1338,9 @@
<flattenMode>oss</flattenMode>
<outputDirectory>${project.build.directory}</outputDirectory>
<flattenedPomFilename>${project.artifactId}-${project.version}.pom</flattenedPomFilename>
<pomElements>
<repositories>flatten</repositories>
</pomElements>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 219e268

Please sign in to comment.