Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Maven package deploy fails : return code 400 Bad Request
-
When I issue the following command:
[command]C:\windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\apache-maven-3.5.4\bin\mvn.cmd" -f c:\A1_work\28\s\pom.xml -s C:\Users\rndadmin\AppData\Local\Temp\settings.xml "-Dcdd.build.number=5.7.0.5" -X -e deploy:deploy-fileI get:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file (default-cli) on project cdd-application: Failed to deploy artifacts: Could not transfer artifact com.xxxxxxxxx.cdd:cdd-application:zip:5.7.0.5 from/to cdd-proget-deployments (https://proget.xxxlab.net/maven2/CDD-DevPkg/): Failed to transfer file: https://proget.xxxlab.net/maven2/CDD-DevPkg/com/xxxxxxxxx/cdd/cdd-application/5.7.0.5/cdd-application-5.7.0.5.zip. Return code is: 400, ReasonPhrase: Bad Request. -> [Help 1]
-
If you navigate to that artifact version in the UI and verify that
cdd-application-5.7.0.5.zip
exists in the list of files? If it does, can you click the file and see if it downloads manually for you?Thanks,
Rich