Hi Felix, I actually was following the same documentation; however, I somehow missed the very first step (filing the ticket for setting up the repository before publishing)
Thank you! Seunghyun On Tue, Feb 12, 2019 at 8:54 PM Felix Cheung <[email protected]> wrote: > Also are you able to login to nexus yourself? > > http://repository.apache.org/ > > I found easier as the place to find more info of the upload. > > And setup steps are documented here > http://www.apache.org/dev/publishing-maven-artifacts.html > > > ________________________________ > From: Felix Cheung <[email protected]> > Sent: Tuesday, February 12, 2019 8:39 PM > To: [email protected]; [email protected] > Subject: Re: Failing on deploying artifacts > > Ah good. Is this documented as a step somewhere? (Just want to see if this > needs to be clarified) > > > ________________________________ > From: Seunghyun Lee <[email protected]> > Sent: Tuesday, February 12, 2019 7:14 PM > To: [email protected] > Subject: Re: Failing on deploying artifacts > > This was because I haven't set up the access to nexus yet. I have filed the > ticket to INFRA https://issues.apache.org/jira/browse/INFRA-17840 > > Best, > Seunghyun > > On Tue, Feb 12, 2019 at 6:10 PM Seunghyun Lee <[email protected]> wrote: > > > 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 > > >
