Josh: Thanks for your quick response ….
Is there a separate VOTE needed for binary release? If so, can someone provide me the proper process to get the binary release VOTE done asap. Here is my ~/.m2/settings.xml =============================================================================== <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <!-- To publish a snapshot of some part of Maven --> <server> <id>apache.snapshots.https</id> <username>sneethir</username> <password>***********</password> </server> <!-- To stage a release of some part of Maven --> <server> <id>apache.releases.https</id> <username>sneethir</username> <password>****************</password> </server> <server> <id>apache.staging.https</id> <username>sneethir</username> <password>****************</password> </server> </servers> </settings> =============================================================================== The error seems to be unauthorized instead of Authentication failure. Also, I have confirmed that the BASIC AUTH header is going along with the HTTP request to POST these artifacts to staging area (via TCPDUMP and using HTTP protocol – just to validate the AUTH http headers are going as part of the request). Is there any special permission needed to publish these POM and JAR files ? If so, who can grant these access ? Thanks, Selva- From: Josh Elser <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Monday, July 18, 2016 at 12:19 PM To: "[email protected]" <[email protected]> Subject: Re: [MENTORS] - Need help in binary release of Apache Ranger 0.6.0 (incubating) 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 <[email protected]> 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-
