[ http://jira.codehaus.org/browse/MNG-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99937 ]
Jason van Zyl commented on MNG-2940: ------------------------------------ What do you mean you don't know? A version of an artifact should only be available in one production repository. So what if you have it installed locally? What valid use case do you have for pulling in SNAPSHOTs or artifacts that have not been deployed? So give me the concrete use case because I can't see either of our cases being useful or necessary. Is this for some sort of development process. The APIs being exposed in the wild I want to be extremely careful about. > 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