Can't deploy to Nexus staging repository
----------------------------------------
Key: MNG-4781
URL: http://jira.codehaus.org/browse/MNG-4781
Project: Maven 2 & 3
Issue Type: Bug
Components: Deployment
Affects Versions: 3.0-beta-3
Reporter: Benjamin Bentmann
Priority: Blocker
Trying to deploy to a Nexus staging repository using Aether yields
{noformat}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.4:deploy (default-deploy) [...]
Failed to retrieve remote metadata [...]
Error transferring file: Server returned HTTP response code: 400 for URL [...]
{noformat}
The issue is caused by the combination of
a) Aether first trying to fetch the remote metadata (instead of PUTting
something first)
b) Nexus returning a 400 (instead of 404) for the requested metadata
--
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