[ http://jira.codehaus.org/browse/MNG-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99929 ]
Carlos Sanchez commented on MNG-2940: ------------------------------------- > 1) Why multiple remote repositories? An artifact should only be available > from one repository because you DON' T know in which one it is > 2) Why do you have the local repository? You want to full set of versions > available in the wild yes? Or do you want to distinguish between local and > remote? because you may have it already installed locally > Add a method to the embedder to list available versions of an artifact > ---------------------------------------------------------------------- > > Key: MNG-2940 > URL: http://jira.codehaus.org/browse/MNG-2940 > Project: Maven 2 > Issue Type: New Feature > Components: Embedding > Affects Versions: 2.1.x > Reporter: Carlos Sanchez > Assignee: Jason van Zyl > Fix For: Reviewed Pending Version Assignment > > Attachments: patch.txt, patch.txt > > > I've added a method following the style of the resolve method already present > public void resolve( Artifact artifact, List remoteRepositories, > ArtifactRepository localRepository ) throws ArtifactResolutionException, > ArtifactNotFoundException -- 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