Return-Path: Delivered-To: apmail-archiva-users-archive@www.apache.org Received: (qmail 77699 invoked from network); 15 Nov 2010 11:57:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Nov 2010 11:57:30 -0000 Received: (qmail 96071 invoked by uid 500); 15 Nov 2010 11:58:01 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 95829 invoked by uid 500); 15 Nov 2010 11:58:01 -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 95821 invoked by uid 99); 15 Nov 2010 11:58:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 11:58:00 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.212.170] (HELO mail-px0-f170.google.com) (209.85.212.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 11:57:54 +0000 Received: by pxi19 with SMTP id 19so1798168pxi.15 for ; Mon, 15 Nov 2010 03:57:33 -0800 (PST) Received: by 10.142.193.8 with SMTP id q8mr2741517wff.275.1289822252740; Mon, 15 Nov 2010 03:57:32 -0800 (PST) Received: from [10.0.0.10] (CPE-58-168-111-229.lns8.ken.bigpond.net.au [58.168.111.229]) by mx.google.com with ESMTPS id e14sm8659932wfg.8.2010.11.15.03.57.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Nov 2010 03:57:31 -0800 (PST) Sender: Brett Porter Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Verify artfact exists From: Brett Porter In-Reply-To: <30213794.post@talk.nabble.com> Date: Mon, 15 Nov 2010 22:57:26 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <30213794.post@talk.nabble.com> To: users@archiva.apache.org X-Mailer: Apple Mail (2.1081) 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-sea= rch-plugin/src/main/java/com/effectivemaven/centrepoint/plugins/archiva/Ar= chivaSearchPlugin.java#L71 HTH, Brett On 15/11/2010, at 6:47 AM, shay te wrote: >=20 > hey all > i see archiva support web services=20 > is there a way to supply a full id to artifact = (groupId,artifactId,version) > and get a response=20 > if artifact exists or not ? >=20 > thank you=20 > --=20 > 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. >=20 -- Brett Porter brett@apache.org http://brettporter.wordpress.com/