diff --git a/src/main/java/org/apache/maven/plugin/gpg/GpgSignAttachedMojo.java b/src/main/java/org/apache/maven/plugin/gpg/GpgSignAttachedMojo.java | |
index eccc716..d9f0ae7 100644 | |
--- a/src/main/java/org/apache/maven/plugin/gpg/GpgSignAttachedMojo.java | |
+++ b/src/main/java/org/apache/maven/plugin/gpg/GpgSignAttachedMojo.java | |
@@ -190,6 +190,9 @@ | |
File file = artifact.getFile(); | |
+ if ( ! isExcluded( file.getPath() ) ) | |
+ { | |
+ | |
getLog().debug( "Generating signature for " + file ); | |
File signature = signer.generateSignatureForArtifact( file ); | |
@@ -200,6 +203,7 @@ | |
artifact.getClassifier(), signature ) ); | |
} | |
} | |
+ } | |
// ---------------------------------------------------------------------------- | |
// Attach all the signatures |