This is an automated email from the ASF dual-hosted git repository. rfscholte pushed a commit to branch pgpverify in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git
commit b68feac4647c355224d6d444d8db40b849767c68 Author: rfscholte <rfscho...@apache.org> AuthorDate: Sat May 29 11:38:48 2021 +0200 Move pgpverify check to profile, so it can be disabled for older Maven versions --- pom.xml | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index cca45d0..0456932 100644 --- a/pom.xml +++ b/pom.xml @@ -158,19 +158,6 @@ </plugin> </plugins> </pluginManagement> - <plugins> - <plugin> - <groupId>org.simplify4u.plugins</groupId> - <artifactId>pgpverify-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> </build> <profiles> @@ -212,5 +199,29 @@ </plugins> </build> </profile> + <profile> + <id>pgpverify</id> + <activation> + <property> + <name>pgpverify.skip</name> + <value>!true</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.simplify4u.plugins</groupId> + <artifactId>pgpverify-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles> </project>