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

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

Reply via email to