Skip to content

Commit

Permalink
Merge pull request #61 from elomagic/feature/add-flatten-plugin
Browse files Browse the repository at this point in the history
Maven flatten plugin added
  • Loading branch information
elomagic committed Jul 13, 2024
2 parents 9b614ca + a3f864e commit 22f010b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
/excluded/
/.idea/uiDesigner.xml
/.idea/xsd-model.iml
/.flattened-pom.xml
21 changes: 21 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@

<cyclonedx-maven-plugin.version>2.8.0</cyclonedx-maven-plugin.version>
<dependency-check-maven.version>9.2.0</dependency-check-maven.version>
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
<github-release-plugin>1.6.0</github-release-plugin>
<license-maven-plugin.version>4.5</license-maven-plugin.version>
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
Expand Down Expand Up @@ -222,6 +223,26 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
<configuration>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
</execution>
</executions>
</plugin>

<!-- http://jeremylong.github.io/DependencyCheck/index.html -->
<plugin>
Expand Down

0 comments on commit 22f010b

Please sign in to comment.