Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-common-artifact-filters-3.2.0
-
None
Description
In principle the call looks like this:
new PatternIncludesArtifactFilter("org.surefire.dependency:dependent-artifact2:*:*:tests-jdk15").include("org.surefire.dependency:dependent-artifact2:jar:tests-jdk15:1.0" with scope tests)
The problem is that PatternIncludesArtifactFilter uses the comparison via != on char[], see more specifically tokens[3] != ANY, and next issue is that PatternIncludesArtifactFilter expects wildcard on classifier which is not very useful, see the comment we only accept 5 tokens if the classifier = '*'.
Attachments
Issue Links
- blocks
-
SUREFIRE-2047 Upgrade to maven-common-artifact-filters 3.4.0
- Closed
- is fixed by
-
MSHARED-1077 Common Artifact Filters pattern parsing with classifier is broken
- Closed
- is related to
-
MSHARED-1030 PatternIncludesArtifactFilter incorrect filtering with classifier
- Closed