diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -62,6 +62,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> <google-java-format.version>1.13.0</google-java-format.version> <jar-plugin.version>3.2.2</jar-plugin.version> <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version> @@ -139,6 +140,27 @@ SPDX-License-Identifier: LGPL-3.0-or-later <version>${jar-plugin.version}</version> </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> @@ -175,6 +197,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> |