Slawomir Jaranowski created MSHARED-1030:
--------------------------------------------

             Summary: PatternIncludesArtifactFilter incorrect filtering with 
classifier
                 Key: MSHARED-1030
                 URL: https://issues.apache.org/jira/browse/MSHARED-1030
             Project: Maven Shared Components
          Issue Type: Bug
          Components: maven-common-artifact-filters
    Affects Versions: maven-common-artifact-filters-3.2.0
            Reporter: Slawomir Jaranowski


For pattern:
{code:java}
org.surefire.dependency:dependent-artifact2:*:*:tests-jdk15
{code}
and {{{}artifact{}}}:
{code:java}
 groupId:    org.surefire.dependency
 artifactId: dependent-artifact2
 version:    1.0
 scope:      test
 type:       jar
 classifier: tests-jdk15
{code}
code:
{code:java}
 filter = PatternIncludesArtifactFilter( pattern );
 filter.iclude( artifact ) <-- return false
{code}

For version: {{3.1.1}}  
{code}
filter.iclude( artifact ) < -- return true
{code}




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to