On Tue, January 30, 2007 3:08 pm, Aaron Digulla wrote:

> The simple workaround would be to create the directories manually
> until the bug is fixed.

I created each directory manually, up to and including the version number.

Once all the directories existed, the return code from wagon-webdav was
"201 Created" (meaning file successfully uploaded), followed by "204 No
Content" (meaning file successfully replaced).

In both cases, the deploy plugin treated these 2xx response codes
incorrectly as errors, like so:

[INFO] [deploy:deploy-file]
Uploading:
https://alchemy.scmb.co.za/maven2/alchemy/test/0.0.0/test-0.0.0-win32.patch
703b uploaded
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Unable to transfer file.
HttpURLConnection returned the response code: 204

Can anyone confirm whether this plugin has ever worked for them, and if
so, what DAV server is being used? I am using httpd v2.0.52 as shipped
default with RHEL4.

Regards,
Graham
--



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to