Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status code 400 with Nexus 3.16 #35

Open
arjanvlek opened this issue May 27, 2019 · 2 comments
Open

Status code 400 with Nexus 3.16 #35

arjanvlek opened this issue May 27, 2019 · 2 comments

Comments

@arjanvlek
Copy link

After update to Nexus 3.16, script fails with following error:

-------------------------------------------
>> Artifact Upload failed
>> Status code 400 for https://xxxxx.xxxx.xx/repository/maven-snapshots//com/xxxxx/xxxx/xxxxx/maven-metadata.xml
Warning: Task "nexusDeployer:test" failed. Use --force to continue.

This is due to NEXUS-16853

It works if the following lines 129-131 are deleted manually from the script

uploads[pomDir + "/outer.xml"] = groupArtifactPath + '/' + 'maven-metadata.xml';

@davidkarlsen
Copy link

Will this get some ❤️?

@cah-jordan-smith03
Copy link

Alternatively, you can remove the version tag from the outer maven-metadata.xml. #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants