You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2007/07/04 17:51:13 UTC

[jira] Created: (MNG-3089) DefaultArtifactCollector does not filter ResolutionListener events

DefaultArtifactCollector does not filter ResolutionListener events
------------------------------------------------------------------

                 Key: MNG-3089
                 URL: http://jira.codehaus.org/browse/MNG-3089
             Project: Maven 2
          Issue Type: Bug
          Components: Artifacts and Repositories
    Affects Versions: 2.0.7
            Reporter: Mark Hobson


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3089) DefaultArtifactCollector does not filter ResolutionListener events

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3089:
------------------------------

    Patch Submitted: [Yes]

> DefaultArtifactCollector does not filter ResolutionListener events
> ------------------------------------------------------------------
>
>                 Key: MNG-3089
>                 URL: http://jira.codehaus.org/browse/MNG-3089
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.7
>            Reporter: Mark Hobson
>         Attachments: MNG-3089.patch
>
>
> The ArtifactFilter passed to the ArtifactCollector.collect methods is only used to filter the ArtifactResolutionResult.artifacts and not the ResolutionListener events.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3089) DefaultArtifactCollector does not filter ResolutionListener events

Posted by "Mark Hobson (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hobson updated MNG-3089:
-----------------------------

    Attachment: MNG-3089.patch

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

> DefaultArtifactCollector does not filter ResolutionListener events
> ------------------------------------------------------------------
>
>                 Key: MNG-3089
>                 URL: http://jira.codehaus.org/browse/MNG-3089
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.7
>            Reporter: Mark Hobson
>         Attachments: MNG-3089.patch
>
>
> The ArtifactFilter passed to the ArtifactCollector.collect methods is only used to filter the ArtifactResolutionResult.artifacts and not the ResolutionListener events.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3089) DefaultArtifactCollector does not filter ResolutionListener events

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3089:
------------------------------

    Fix Version/s: 2.0.x

> DefaultArtifactCollector does not filter ResolutionListener events
> ------------------------------------------------------------------
>
>                 Key: MNG-3089
>                 URL: http://jira.codehaus.org/browse/MNG-3089
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.7
>            Reporter: Mark Hobson
>             Fix For: 2.0.x
>
>         Attachments: MNG-3089.patch
>
>
> The ArtifactFilter passed to the ArtifactCollector.collect methods is only used to filter the ArtifactResolutionResult.artifacts and not the ResolutionListener events.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3089) DefaultArtifactCollector does not filter ResolutionListener events

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3089:
------------------------------

    Patch Submitted:   (was: [Yes])

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

> DefaultArtifactCollector does not filter ResolutionListener events
> ------------------------------------------------------------------
>
>                 Key: MNG-3089
>                 URL: http://jira.codehaus.org/browse/MNG-3089
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.7
>            Reporter: Mark Hobson
>             Fix For: 2.0.x
>
>         Attachments: MNG-3089.patch
>
>
> The ArtifactFilter passed to the ArtifactCollector.collect methods is only used to filter the ArtifactResolutionResult.artifacts and not the ResolutionListener events.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira