You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2021/03/16 13:50:00 UTC

[jira] [Closed] (MGPG-66) sign goal's "excludes" configuration ignored

     [ https://issues.apache.org/jira/browse/MGPG-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elliotte Rusty Harold closed MGPG-66.
-------------------------------------

> 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
>             Fix For: 3.0.1
>
>         Attachments: maven-gpg-plugin-MGPG-66-patch.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
(v8.3.4#803005)