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:01 UTC

[maven-artifact-plugin] branch pgpverify created (now b68feac)

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a change to branch pgpverify
in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git.


      at b68feac  Move pgpverify check to profile, so it can be disabled for older Maven versions

This branch includes the following new commits:

     new b68feac  Move pgpverify check to profile, so it can be disabled for older Maven versions

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[maven-artifact-plugin] 01/01: Move pgpverify check to profile, so it can be disabled for older Maven versions

Posted by rf...@apache.org.
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>