Hi mentors,

I am trying to upload our artifacts to Nexus staging repository. I was
following the apache document. Have set up "~/.m2/settings.xml" file
correctly. Since the job fails after uploading the "pinot-0.1.0.pom" file,
I think that it's not the authentication issue.

When I run "mvn release:perform", I get the following error:

[INFO] [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ pinot
---
[INFO] Uploading:
https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/pinot/pinot/0.1.0/pinot-0.1.0.pom
[INFO] Progress (1): 2.0/45 kB
[INFO] Progress (1): 4.1/45 kB
[INFO] Progress (1): 6.1/45 kB
[INFO] Progress (1): 8.2/45 kB
[INFO]
------------------------------------------------------------------------

~/workspace/pinot 0.1.0
[INFO] [INFO] Total time: 6.280 s
[INFO] [INFO] Finished at: 2019-02-12T18:05:20-08:00
[INFO] [INFO] Final Memory: 44M/1168M
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy)
on project pinot: Failed to deploy artifacts: Could not transfer artifact
org.apache.pinot:pinot:pom:0.1.0 from/to apache.releases.https (
https://repository.apache.org/service/local/staging/deploy/maven2): *Failed
to transfer file:
https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/pinot/pinot/0.1.0/pinot-0.1.0.pom
<https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/pinot/pinot/0.1.0/pinot-0.1.0.pom>.
Return code is: 400, ReasonPhrase: Bad Request. *-> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug
logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible
solutions, please read the following articles:
[INFO] [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Is someone familiar with maven-release tool and have face about this issue?
I have spent hours on googling but haven't found the good solution yet.

Best,
Seunghyun

Reply via email to