Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: maven-common-artifact-filters-1.2
-
Fix Version/s: maven-common-artifact-filters-1.3
-
Component/s: maven-common-artifact-filters
-
Labels:None
-
Number of attachments :
Description
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.
Activity
John Casey
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | John Casey [ jdcasey ] |
John Casey
made changes -
| Fix Version/s | maven-common-artifact-filters 1.3 [ 15582 ] |
John Casey
made changes -
| Fix Version/s | maven-common-artifact-filters 1.4 [ 16798 ] | |
| Fix Version/s | maven-common-artifact-filters 1.3 [ 15582 ] |
John Casey
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | maven-common-artifact-filters 1.3 [ 15582 ] | |
| Fix Version/s | maven-common-artifact-filters 1.4 [ 16798 ] | |
| Resolution | Fixed [ 1 ] |