Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6760

[REGRESSION] ExclusionArtifactFilter result invalid when wildcard exclusion is followed by other exclusions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.2
    • Fix Version/s: 3.6.3
    • Component/s: Dependencies
    • Labels:
      None

      Description

      MNG-6713 was a fix to support wildcard exclusions. Before they were always ignored, since it was an exact match of the wildcard with the groupId or artifactId, which would always be false.
      The improvement contains a bug, because in case of a wildcard, it does a direct match, ignoring following exclusions.

      WORKAROUND: Start the exclusion-list with the explicit groupID and artifactId, ending with the exclusions containing wildcards. This will restore the behavior as before MNG-6713

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                rfscholte Robert Scholte
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: