Hi Jim,

On 29/06/18 21:15, Jim Sellers wrote:
Hi all.

We have nexus reject over writing releases.

After upgrading maven from 3.5.3 to 3.5.4, the release plan tries to upload
the -sources jars twice, failing the build.

This is for a multi module project.
pom
\- ear
\- war

Example error message
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy)
on project TestProjectWAR: Failed to deploy artifacts: Could not transfer
artifact ca.gc.ic.test:TestProjectWAR:jar:sources:1.6.0 from/to
internal-nexus (
https://my-nexus.example.com/maven-proxy/content/repositories/internal-released):
Failed to transfer file:
https://my-nexus.example.com/maven-proxy/content/repositories/internal-released/com/example/TestProjectWAR/1.6.0/TestProjectWAR-1.6.0-sources.jar.
Return code is: 400, ReasonPhrase: Bad Request. -> [Help 1]

Revering maven to 3.5.3 fixes it. Anyone else seeing this behaviour?

Do you have a sample project which reproduces the issue (github / bitbucket / gitlab) and very important the whole pom files....also a log file would be helpful...


Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to