[ http://jira.codehaus.org/browse/WAGONHTTP-9?page=all ] Brett Porter closed WAGONHTTP-9: --------------------------------
Assign To: Brett Porter Resolution: Fixed Fix Version: 1.0-alpha-7 applied, thanks > unable to use wagon-http-lightweight with maven deploy and release plugins > -------------------------------------------------------------------------- > > Key: WAGONHTTP-9 > URL: http://jira.codehaus.org/browse/WAGONHTTP-9 > Project: wagon-http > Type: Bug > Versions: 1.0-alpha-6 > Environment: maven 2.0.2 on windows xp. > Reporter: ysoonleo > Assignee: Brett Porter > Fix For: 1.0-alpha-7 > Attachments: wagon-http-lightweight.patch > > > The wagon-http-lightweight fails with response 201 and 204 when using maven > deploy and release:perform plugins. > The error messages are: > [INFO] Error deploying artifact: Unable to transfer file. HttpURLConnection > returned the response code: 201 > [INFO] Error deploying artifact: Unable to transfer file. HttpURLConnection > returned the response code: 204 > The wagon-http-lightweight fails because it only handles response code 200 > and flags the rest as errors. > The attached patch file should address this problem as it uses the same code > handling mechanism from wagon-http. This patch can also be used to address > the WAGONHTTP-7 issue for wagon-http. > With this patch, the wagon-http and wagon-http-lightweight.will work with > webdav for the deploy and release plugin. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira