diff options
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> |