Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-1030

PatternIncludesArtifactFilter incorrect filtering with classifier

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • maven-common-artifact-filters-3.2.0
    • None
    • None

    Description

      For pattern:

      org.surefire.dependency:dependent-artifact2:*:*:tests-jdk15
      

      and artifact:

       groupId:    org.surefire.dependency
       artifactId: dependent-artifact2
       version:    1.0
       scope:      test
       type:       jar
       classifier: tests-jdk15
      

      code:

       filter = PatternIncludesArtifactFilter( pattern );
       filter.iclude( artifact ) <-- return false
      

      For version: 3.1.1

      filter.iclude( artifact ) < -- return true
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sjaranowski Slawomir Jaranowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: