Hi Shawn,

can you login to https://repository.apache.org/ and do you see on the
left-hand side the "Staging Repositories" link?

Also check your ~/.m2/settings.xml, there you need an <server> entry for
apache.snapshots.https and apache.releases.https

Were you able to do an "mvn deploy" of the snapshots before starting the
release?

Kind Regards,
Stefan


On 03/06/2016 08:30 PM, Shawn McKinney wrote:
> Got this error today while performing release on core.  How do I get the 
> proper access?
> 
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] BUILD FAILURE
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 55.277s
> [INFO] [INFO] Finished at: Sun Mar 06 13:26:59 CST 2016
> [INFO] [INFO] Final Memory: 59M/621M
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on 
> project fortress-core: Failed to deploy artifacts: Could not transfer 
> artifact org.apache.directory.fortress:fortress-core:jar:1.0-RC42 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/directory/fortress/fortress-core/1.0-RC42/fortress-core-1.0-RC42.jar.
>  Return code is: 401, ReasonPhrase: Unauthorized. -> [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
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1:27.893s
> [INFO] Finished at: Sun Mar 06 13:26:59 CST 2016
> [INFO] Final Memory: 17M/251M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.5.2:perform (default-cli) on 
> project fortress-core: Maven execution failed, exit code: '1' -> [Help 1]
> 
> 
> 
> Shawn
> 
> 
> 
> 
> 

Reply via email to