Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 34735 invoked from network); 19 Jun 2008 03:14:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jun 2008 03:14:09 -0000 Received: (qmail 70120 invoked by uid 500); 19 Jun 2008 03:14:11 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 70083 invoked by uid 500); 19 Jun 2008 03:14:11 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 70072 invoked by uid 99); 19 Jun 2008 03:14:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 20:14:11 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.126.183] (HELO moutng.kundenserver.de) (212.227.126.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2008 03:13:18 +0000 Received: from [192.168.178.24] (p54BF66F4.dip.t-dialin.net [84.191.102.244]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1K9Aa73diz-0004Kp; Thu, 19 Jun 2008 05:13:04 +0200 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <17928457.post@talk.nabble.com> References: <1F63A65A-5BC1-47CC-80F0-2D93473993AE@dockter.biz> <29E9B38D-6E95-478F-8DB8-341D6ADC15E7@dockter.biz> <17928457.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <71FDCA05-F937-413A-B86D-BF3FFAA5905B@dockter.biz> Content-Transfer-Encoding: 7bit From: Hans Dockter Subject: Re: How to use Ivy to publish artifacts to archiva or arifactory? Date: Thu, 19 Jun 2008 05:13:12 +0200 To: ivy-user@ant.apache.org X-Mailer: Apple Mail (2.753.1) X-Provags-ID: V01U2FsdGVkX1+6/bckv79pNQLMjT0saO5w3TIyBLsnSST+/IX /kOyzBCb18iIYvBKCWgMC1f7kRjyQKdMf3AZdYT/StBv+bkzY/ k0VM5ye51/aptxIUJ0bhg== X-Virus-Checked: Checked by ClamAV on apache.org Hi Jason, On Jun 17, 2008, at 7:57 PM, Jason Southern wrote: > > I've also been trying to determine how to publish ivy.xml and > modules to > Archiva using ivy:publish and found this thread. I read the posts from > MarkMail and I didn't see any issue in JIRA directly related to webdav > support. Will this be supported in Ivy 2.0? > > Giles mentions using Slide, although its a retired project. Has any > investigated using the Jackrabbit WebDAV library to implement this? Slide seems still the way to go. Have a look at: http://pragmaticchris.blogspot.com/2007/11/java-webdav-clients.html HttpClient 4.0 might have WebDav support in the future. > I've > used neither, but I am very interested in not having to switch out > Archiva > in my environment. Wanted to know the status before I go off an > explore the > feasibility of using this library to accomplish it. If no one else is > working on it, I'm willing to prototype it and discuss how to roll > it into > the Ivy codebase. You might have a look at Gradle's limited implementation (see my earlier email): http://svn.codehaus.org/gradle/gradle-core/trunk/src/main/groovy/org/ gradle/api/internal/dependencies/WebdavRepository.java http://svn.codehaus.org/gradle/gradle-core/trunk/src/main/groovy/org/ gradle/api/internal/dependencies/WebdavResolver.java Here is a Implementation of the WebDav Put method that seems to contain all the necessary WebDav logic for implementing Ivy WebDav support. http://www.krugle.org/kse/codespaces/EGreCy Full WebDav support in Ivy 2.0 would be awesome. - Hans > > Jason > > > hdockter wrote: >> >> >> On May 2, 2008, at 3:38 PM, Hans Dockter wrote: >> >>> >>> On May 1, 2008, at 10:47 PM, Gilles Scokart wrote: >>> >>>> I think you have to use webdav to publish to archiva. >>>> Unfortunately, we have some issues with our webdav support [1]. >>>> (By the way, I would be curious to know how the webdav access has >>>> been >>>> implemented in maven?) >>> >>> I think it is implemented with Slide. >> >> For Gradle we have implemented a webdav resolver for Ivy as we need >> one. But we need it only for uploading our distribution to a remote >> directory. Therefore our resolver has no functionality for creating >> remote dirs, which would be necessary for publishing normal libs. I >> don't think it is much work to add this but I'm very busy with Gradle >> right now. >> >> Is there another ivy-beta to come or do you plan for final release of >> 2.0 soon? >> >> - Hans >> >>> >>> - Hans >>> >>>> >>>> >>>> http://apache.markmail.org/search/?q=list%3Aivy%20webdav >>>> >>>> Gilles >>>> >>>> 2008/5/1 Lasse Knudsen : >>>>> Hi, >>>>> I'm new to Ivy and I would like to hear how I can use Ivy for >>>>> publishing my >>>>> artifacts to archiva or artifactory ? >>>>> >>>>> My ivysettings looks like: >>>>> >>>>> >>>>> >>>>> >>>> root="http://localhost:8081/archiva/repository/internal/"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> and my ant publish looks like: >>>>> >>>>> >>>>> >>>> pomfile="${target.dir}/utility.pom" /> >>>>> >>>> resolver="public" pubrevision="${ivy.revision}" status="release" >>>>> publishivy="false" overwrite="true"/> >>>>> >>>>> >>>>> When I try to publish my artifact then I'm getting an error: URL >>>>> repository >>>>> is not able to put files for the moment. What can I do to get >>>>> this to work? >>>>> >>>>> Regards, >>>>> Lasse >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Gilles Scokart >>> >>> -- >>> Hans Dockter >>> Gradle Project lead >>> http://www.gradle.org >>> >>> >>> >>> >> >> -- >> Hans Dockter >> Gradle Project lead >> http://www.gradle.org >> >> >> >> >> >> > > -- > View this message in context: http://www.nabble.com/How-to-use-Ivy- > to-publish-artifacts-to-archiva-or-arifactory-- > tp17008591p17928457.html > Sent from the ivy-user mailing list archive at Nabble.com. > -- Hans Dockter Gradle Project lead http://www.gradle.org