Return-Path: Delivered-To: apmail-archiva-users-archive@www.apache.org Received: (qmail 22759 invoked from network); 17 Nov 2010 22:50:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Nov 2010 22:50:27 -0000 Received: (qmail 79223 invoked by uid 500); 17 Nov 2010 22:50:59 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 79171 invoked by uid 500); 17 Nov 2010 22:50:58 -0000 Mailing-List: contact users-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@archiva.apache.org Delivered-To: mailing list users@archiva.apache.org Received: (qmail 79163 invoked by uid 99); 17 Nov 2010 22:50:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 22:50:57 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 22:50:52 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1PIqpj-0001Ke-33 for users@archiva.apache.org; Wed, 17 Nov 2010 14:50:31 -0800 Message-ID: <30239156.post@talk.nabble.com> Date: Wed, 17 Nov 2010 14:50:31 -0800 (PST) From: shay te To: users@archiva.apache.org Subject: Re: Verify artfact exists In-Reply-To: <0FB51514-31D5-43BF-93F5-A3C9630AC61D@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: shay.te@gmail.com References: <30213794.post@talk.nabble.com> <30232281.post@talk.nabble.com> <0FB51514-31D5-43BF-93F5-A3C9630AC61D@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org i got an exception during install this is the command i am running mvn install:install-file -DpomFile=D:\programming\a\pom.xml the pom is from the link .... thanks .... Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-a ) Downloading: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar Downloaded: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar (119 KB at 53.6 KB/sec) Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar (12 KB at 4.2 KB/sec) Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar (218 KB at 49.7 KB/sec) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 23.963s [INFO] Finished at: Thu Nov 18 00:47:14 IST 2010 [INFO] Final Memory: 2M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (default-cli) on project standalone-pom: The parameters 'file' f or goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file are missing or invalid -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException brettporter wrote: > > > On 17/11/2010, at 6:42 AM, shay te wrote: > >> >> very nice , i will try it >> on what jars this code depends on ? > > There are two, listed here: > https://github.com/brettporter/centrepoint/blob/master/plugins/archiva-search-plugin/pom.xml > >> >> brettporter wrote: >>> >>> If you know the repository it is in, the easiest way is to do a HEAD >>> request on the normal artifact URL. >>> >>> The XMLRPC search service also contains a getArtifactVersions method >>> which >>> will list all versions available for a certain group / artifact, which >>> would help with your query. You can find an example of this here: >>> https://github.com/brettporter/centrepoint/blob/master/plugins/archiva-search-plugin/src/main/java/com/effectivemaven/centrepoint/plugins/archiva/ArchivaSearchPlugin.java#L71 >>> >>> HTH, >>> Brett >>> >>> On 15/11/2010, at 6:47 AM, shay te wrote: >>> >>>> >>>> hey all >>>> i see archiva support web services >>>> is there a way to supply a full id to artifact >>>> (groupId,artifactId,version) >>>> and get a response >>>> if artifact exists or not ? >>>> >>>> thank you >>>> -- >>>> View this message in context: >>>> http://old.nabble.com/Verify-artfact-exists-tp30213794p30213794.html >>>> Sent from the archiva-users mailing list archive at Nabble.com. >>>> >>> >>> -- >>> Brett Porter >>> brett@apache.org >>> http://brettporter.wordpress.com/ >>> >>> >>> >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/Verify-artfact-exists-tp30213794p30232281.html >> Sent from the archiva-users mailing list archive at Nabble.com. >> > > -- > Brett Porter > brett@apache.org > http://brettporter.wordpress.com/ > > > > > > -- View this message in context: http://old.nabble.com/Verify-artfact-exists-tp30213794p30239156.html Sent from the archiva-users mailing list archive at Nabble.com.