diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2022-03-01 14:24:12 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2022-03-01 15:05:15 +0100 |
commit | 143a64b64ef9c96166d7391f9655a9f0ed387b37 (patch) | |
tree | 57f7a63be5769c1c32c70f5ae642b5daa66eb185 /jgvariant-parent/pom.xml | |
parent | 3a42de6c88ef185ceaf107f31f42d3a2b3f036b6 (diff) |
POM: Apply Flatten Maven Plugin.
Change-Id: Ia17df13f08958a322e7fb20467e1666cd55dbe2b
Diffstat (limited to 'jgvariant-parent/pom.xml')
-rw-r--r-- | jgvariant-parent/pom.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/jgvariant-parent/pom.xml b/jgvariant-parent/pom.xml index a0c4805..a4aed0e 100644 --- a/jgvariant-parent/pom.xml +++ b/jgvariant-parent/pom.xml @@ -57,6 +57,7 @@ SPDX-License-Identifier: LGPL-3.0-or-later <compiler-plugin.version>3.8.1</compiler-plugin.version> <failsafe-plugin.version>${surefire-plugin.version}</failsafe-plugin.version> + <flatten-plugin.version>1.2.7</flatten-plugin.version> <jar-plugin.version>3.2.0</jar-plugin.version> <maven-scm-plugin.version>1.12.0</maven-scm-plugin.version> <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version> @@ -231,6 +232,28 @@ SPDX-License-Identifier: LGPL-3.0-or-later </configuration> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>flatten-maven-plugin</artifactId> + <version>${flatten-plugin.version}</version> + <executions> + <execution> + <id>flatten</id> + <phase>process-resources</phase> + <goals> + <goal>flatten</goal> + </goals> + </execution> + <execution> + <id>flatten.clean</id> + <phase>clean</phase> + <goals> + <goal>clean</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> </pluginManagement> @@ -267,6 +290,18 @@ SPDX-License-Identifier: LGPL-3.0-or-later </configuration> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>flatten-maven-plugin</artifactId> + <configuration> + <flattenMode>oss</flattenMode> + <flattenDependencyMode>all</flattenDependencyMode> + <pomElements> + <distributionManagement>flatten</distributionManagement> + </pomElements> + </configuration> + </plugin> + </plugins> </build> |