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

PatternIncludesArtifactFilter#include(Artifact)

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              michael-o Michael Osipov
              tibordigana Tibor Digana
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: