You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/05/29 09:39:02 UTC
[maven-artifact-plugin] 01/01: Move pgpverify check to profile,
so it can be disabled for older Maven versions
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 <rf...@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>