Using the Maven Ant task in Gant to upload Gant snapshots and releases to the Codehaus repository, if a directory doesn't exist because it is the first upload of a version, then it gets made. Everything always seems to work.
Using Gradle to upload GPars snapshot, I am getting:
[ant:null] Deploying to
https://dav.codehaus.org/snapshots.repository/gpars
[INFO] Retrieving previous build number from remote
[ant:null] An error has occurred while processing the Maven artifact
tasks.
Diagnosis:
Error deploying artifact 'groovyx.gpars:gpars:jar': Error retrieving
previous build number for artifact 'groovyx.gpars:gpars:jar': repository
metadata for: 'snapshot groovyx.gpars:gpars:0.9-beta-1-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/gpars/groovyx/gpars/gpars/0.9-beta-1-SNAPSHOT/maven-metadata.xml
FAILURE: Build failed with an exception.
* Where:
Build file
'/home/users/russel/Repositories/Bazaar/SharedRepositories/GPars/Working/build.gradle'
* What went wrong:
Execution failed for task ':uploadArchives'.
Cause: Could not publish configurations [configuration 'archives'].
which is looking like a "directory doesn't exist" problem because this
is a first upload. Is it that I am just doing something wrong?
Thanks.
--
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
signature.asc
Description: This is a digitally signed message part
