You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marshall Schor (JIRA)" <ji...@apache.org> on 2018/10/08 20:30:00 UTC
[jira] [Commented] (MGPG-66) sign goal's "excludes" configuration
ignored
[ https://issues.apache.org/jira/browse/MGPG-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642418#comment-16642418 ]
Marshall Schor commented on MGPG-66:
------------------------------------
trivial patch attached
> sign goal's "excludes" configuration ignored
> --------------------------------------------
>
> Key: MGPG-66
> URL: https://issues.apache.org/jira/browse/MGPG-66
> Project: Maven GPG Plugin
> Issue Type: Bug
> Affects Versions: 1.6
> Reporter: Marshall Schor
> Priority: Major
> Attachments: maven-gpg-plugin-1.6-MGPG-66.txt
>
>
> The class GpgSignAttachedMojo computes the excludes, and has a method isExcluded(name), but that method is never called. As a result, the excludes are ignored.
> A fix is to add if ( ! isExcluded( file.getPath() ) ) around the code in the loop over all attached artifacts. (I tried this and it seems to work)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)