You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2020/04/11 14:13:19 UTC

[maven-gpg-plugin] branch master updated: [MGPG-64] Exclude sha256/sha512

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

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 82d1072  [MGPG-64] Exclude sha256/sha512
82d1072 is described below

commit 82d107201b01d64411723e485e279449c1dc98ae
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Apr 11 16:13:11 2020 +0200

    [MGPG-64] Exclude sha256/sha512
---
 src/main/java/org/apache/maven/plugins/gpg/GpgSignAttachedMojo.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugins/gpg/GpgSignAttachedMojo.java b/src/main/java/org/apache/maven/plugins/gpg/GpgSignAttachedMojo.java
index 706d658..cdeb6cc 100644
--- a/src/main/java/org/apache/maven/plugins/gpg/GpgSignAttachedMojo.java
+++ b/src/main/java/org/apache/maven/plugins/gpg/GpgSignAttachedMojo.java
@@ -48,7 +48,8 @@ public class GpgSignAttachedMojo
     extends AbstractGpgMojo
 {
 
-    private static final String DEFAULT_EXCLUDES[] = new String[] { "**/*.md5", "**/*.sha1", "**/*.asc" };
+    private static final String DEFAULT_EXCLUDES[] =
+        new String[] { "**/*.md5", "**/*.sha1", "**/*.sha256", "**/*.sha512", "**/*.asc" };
 
     /**
      * Skip doing the gpg signing.