|org.eclipse.aether.deployment.DeploymentException for Upload to Nexus [message #1700745]
||Mon, 06 July 2015 18:24
| mizanur kazi
Registered: July 2015
I am trying to store some files/artificat by defining GAV co-ordinates to Nexus but keep getting |
org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact XYZ ????? from/to xxxx???? : Bad Request (400).
Few lines of code:
Artifact artifact = new DefaultArtifact("co.xxx.yyyy.zzz", "xzzz-client", "txt", "1.0.0-SNAPSHOT");
artifact = artifact.setFile(new File("file.txt"));
DeployRequest deployRequest = new DeployRequest();
While I can download file using similiar coading technique.
Powered by FUDForum
. Page generated in 0.02989 seconds