Are you able to duplicate it using Ant by itself?
If you can narrow it to a problem in the maven ant tasks and create a jira issue [1], I can try to fix it.

[1]http://jira.codehaus.org/browse/MANTTASKS

Russel Winder wrote:
Or is this just that Gradle doesn't understand using WebDav over HTTPS
by default?

On Wed, 2009-10-07 at 07:55 +0100, Russel Winder wrote:
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.



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to