Uploaded image for project: 'Maven GPG Plugin'
  1. Maven GPG Plugin
  2. MGPG-66

sign goal's "excludes" configuration ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6
    • 3.0.1
    • None

    Description

      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)

      Attachments

        1. maven-gpg-plugin-MGPG-66-patch.txt
          0.9 kB
          Marshall Schor

        Issue Links

          Activity

            People

              Unassigned Unassigned
              schor Marshall Schor
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: