actTransitively wildcard patterns can fail on pattern-based filters
-------------------------------------------------------------------

                 Key: MSHARED-162
                 URL: http://jira.codehaus.org/browse/MSHARED-162
             Project: Maven Shared Components
          Issue Type: Bug
          Components: maven-common-artifact-filters
    Affects Versions: maven-common-artifact-filters 1.2
            Reporter: John Casey


When a pattern is matched against the dependency trail of an artifact in the 
PatternInclusionArtifactFilter and PatternExclusionArtifactFilter, the whole 
trail is considered at once (using a comma-separated list of items in the 
trail). This means that only particular wildcard patterns will ever match, and 
it should be virtually impossible to use an exact match.

A far better approach would be to iterate through the dependency trail and try 
to match the patterns against each dep-trail item separately, to avoid problems 
of detecting the boundaries between items during the pattern-matching process.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to