The change proposed in GRADLE-729 does not work for me.  Gradle simply
cannot upload to the Maven archive.  This for me is a Blocker so I have
taken the liberty of raising the priority of the issue to reflect this.

On Thu, 2009-12-10 at 09:21 -0700, Jason Porter wrote:
> On Wed, Dec 9, 2009 at 09:19, Russel Winder
> <[email protected]> wrote:
> > Has anyone managed to do uploading to a Maven archive using WebDAV?  I
> > am trying to upload snapshot Gant jars to the Codehaus snapshot
> > repository and I keep getting 401 responses:
> >
> > Error deploying artifact 'org.codehaus.gant:gant_groovy1.7:jar': Error 
> > retrieving previous build number for artifact 
> > 'org.codehaus.gant:gant_groovy1.7:jar': repository metadata for: 'snapshot 
> > org.codehaus.gant:gant_groovy1.7:1.9.0-SNAPSHOT' could not be retrieved 
> > from repository: remote due to an error: Error transferring file
> > Server returned HTTP response code: 401 for URL: 
> > https://dav.codehaus.org/snapshots.repository/gant/org/codehaus/gant/gant_groovy1.7/1.9.0-SNAPSHOT/maven-metadata.xml
> >
> > I have my authentication tokens in ~/.m2/settings.xml and uploading with
> > Gant and Slide works fine.
> >
> > --
> > Russel.
> > =============================================================================
> > Dr Russel Winder      Partner
> >                                            xmpp: [email protected]
> > Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
> > 41 Buckmaster Road,   f: +44 8700 516 084   voip: 
> > sip:[email protected]
> > London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder
> >
> 
> According to GRADLE-729:
> 
> Adam suggested the following on the mailing list:
> 
> This looks like a jar versioning problem. Could you try replacing
> $gradleHome/lib/commons-httpclient-3.0.jar with
> commons-httpclient-2.0.2.jar, and removing
> $gradleHome/lib/webdavlib-2.0.jar, and see if it works.
> 
> This resolved the problem.
> 


-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[email protected]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to