You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christopher Hunt (JIRA)" <ji...@codehaus.org> on 2011/09/09 03:42:32 UTC

[jira] Created: (MNG-5171) ArtifactCollector methods appear to require an ordered set of artifacts

ArtifactCollector methods appear to require an ordered set of artifacts
-----------------------------------------------------------------------

                 Key: MNG-5171
                 URL: https://jira.codehaus.org/browse/MNG-5171
             Project: Maven 2 & 3
          Issue Type: Improvement
            Reporter: Christopher Hunt


The ArtifactCollector collect methods declare that a Set of artifacts are required, however it appears that the ordering of the set is significant to the behaviour. Recommend that the interface methods be changed to require LinkedHashSet:

{code}
ArtifactResolutionResult collect( LinkedHashSet artifacts, Artifact originatingArtifact, ArtifactRepository localRepository,
                                      List remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter,
                                      List listeners )
        throws ArtifactResolutionException;
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira