Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3089

DefaultArtifactCollector does not filter ResolutionListener events

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.0.7
    • Fix Version/s: None
    • Labels:
      None

      Description

      The ArtifactFilter passed to the ArtifactCollector.collect methods is only used to filter the ArtifactResolutionResult.artifacts and not the ResolutionListener events.

      1. MNG-3089.patch
        5 kB
        Mark Hobson

        Issue Links

          Activity

          Hide
          jvanzyl Jason van Zyl added a comment -

          Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          Show
          jvanzyl Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
          Show
          jvanzyl Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
          Hide
          brettporter Brett Porter added a comment -

          based on comment I don't think the patch is complete, so unsetting flag

          Show
          brettporter Brett Porter added a comment - based on comment I don't think the patch is complete, so unsetting flag
          Hide
          mihobson Mark Hobson added a comment -

          Attaching example fix, although this fails testScopeUpdate. Probably due to the behaviour discussed here:

          http://www.mail-archive.com/dev@maven.apache.org/msg68011.html

          Show
          mihobson Mark Hobson added a comment - Attaching example fix, although this fails testScopeUpdate. Probably due to the behaviour discussed here: http://www.mail-archive.com/dev@maven.apache.org/msg68011.html

            People

            • Assignee:
              Unassigned
              Reporter:
              mihobson Mark Hobson
            • Votes:
              8 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development