Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.0-beta-3
-
None
-
Nexus 1.7.2
Description
Trying to deploy to a Nexus staging repository using Aether yields
[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 [...]
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