Maven Shared Components
  1. Maven Shared Components
  2. MSHARED-162

actTransitively wildcard patterns can fail on pattern-based filters

    Details

    • Number of attachments :
      0

      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 ]

          People

          • Assignee:
            John Casey
            Reporter:
            John Casey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: