Hi Selva,
You didn't vote on any jars to deploy in 0.6.0-rc1. Why are you trying
to deploy artifacts that were not voted upon? Am I missing something?
That aside, your authorization issue is probably coming from a lack of
credentials in your ~/.m2/settings.xml
<servers>
<server>
<id>apache.snapshots.https</id>
<username>elserj</username>
<password>redacted</password>
</server>
<server>
<id>apache.releases.https</id>
<username>elserj</username>
<password>redacted</password>
</server>
<server>
<id>apache.staging.https</id>
<username>elserj</username>
<password>redacted</password>
</server>
</servers>
Often, with a corresponding setup of your ~/.m2/settings-security.xml to
avoid a plaintext password in this file.
https://maven.apache.org/guides/mini/guide-encryption.html
On 2016-07-18 11:28 (-0400), Selvamohan Neethiraj <sneet...@apache.org>
wrote:
Thank you all rangers for their enormous contribution to the Apache Ranger
0.6.0 (incubating) release which has lot of new features and improvements over
the previous major release %u2026.
Now, I am trying to deploy the release JAR files in the
https://repository.apache.org/content/repositories/releases/org/apache/ using
"maven deploy%u201D command from the source code associated with the release. I am
getting %u201CAccess denied" error from the process:
#
# List of commands executed for the Maven deploy %u2026.
#
# Checked out the repo from https://github.com/apache/incubator-ranger.git
git clone https://github.com/apache/incubator-ranger.git
cd incubator-ranger
# Switched to tags/ranger-0.6.0-rc1
git checkout tags/ranger-0.6.0-rc1
# Run command to stage/deploy the binary to Apache Release folder
mvn clean package deploy
%u2026.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on
project ranger: Failed to deploy artifacts: Could not transfer artifact
org.apache.ranger:ranger:pom:0.6.0 from/to apache.staging.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/ranger/ranger/0.6.0/ranger-0.6.0.pom.
Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
Can someone help me to fix this issue asap ? Also, I would like to understand
the process and permission required to do the binary release ?
Thanks,
Selva-