Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 36429 invoked from network); 16 Jun 2007 22:46:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2007 22:46:21 -0000 Received: (qmail 52799 invoked by uid 500); 16 Jun 2007 22:46:24 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 52195 invoked by uid 500); 16 Jun 2007 22:46:21 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 52170 invoked by uid 99); 16 Jun 2007 22:46:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jun 2007 15:46:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jun 2007 15:46:17 -0700 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 2B0D714A8045 for ; Sat, 16 Jun 2007 17:45:57 -0500 (CDT) Message-ID: <13215352.1182033957174.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Sat, 16 Jun 2007 17:45:57 -0500 (CDT) From: "Jason van Zyl (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MNG-2940) Add a method to the embedder to list available versions of an artifact In-Reply-To: <57852306.1175880362023.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MNG-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99719 ] Jason van Zyl commented on MNG-2940: ------------------------------------ I reviewed this and 1) Why multiple remote repositories? An artifact should only be available from one repository 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? > 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