[ 
https://issues.apache.org/jira/browse/ARROW-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16411042#comment-16411042
 ] 

ASF GitHub Bot commented on ARROW-2322:
---------------------------------------

xhochy closed pull request #1782: ARROW-2322: [Java] Document dev environment 
requirements for publishing Java release artifacts
URL: https://github.com/apache/arrow/pull/1782
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/dev/release/README b/dev/release/README
index 7868c9438..dceb484ef 100644
--- a/dev/release/README
+++ b/dev/release/README
@@ -2,7 +2,9 @@ requirements:
 - being a committer to be able to push to dist and maven repository
 - a gpg key to sign the artifacts
 - use java 7. check your JAVA_HOME environment variable (at least for now. See 
ARROW-930)
-- have the build requirements for cpp and c_glibg installed (see their README)
+- Maven configured to publish artifacts to Apache repositories (see
+  http://www.apache.org/dev/publishing-maven-artifacts.html)
+- have the build requirements for cpp and c_glib installed (see their README)
 
 to release, run the following (replace 0.1.0 with version to release):
 
diff --git a/dev/release/RELEASE_MANAGEMENT.md 
b/dev/release/RELEASE_MANAGEMENT.md
index 0f8c2202f..0069a2af8 100644
--- a/dev/release/RELEASE_MANAGEMENT.md
+++ b/dev/release/RELEASE_MANAGEMENT.md
@@ -180,7 +180,10 @@ same time because they are interdependent.
 
 ### Updating Java Maven artifacts in Maven central
 
-See instructions at end of 
https://github.com/apache/arrow/blob/master/dev/release/README
+See instructions at end of
+https://github.com/apache/arrow/blob/master/dev/release/README. You must set up
+Maven to be able to publish to Apache's repositories. Read more at
+http://www.apache.org/dev/publishing-maven-artifacts.html.
 
 [1]: https://github.com/apache/arrow/blob/master/dev/release/README
 [2]: https://github.com/apache/arrow-dist


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Document requirements to run dev/release/01-perform.sh
> ------------------------------------------------------
>
>                 Key: ARROW-2322
>                 URL: https://issues.apache.org/jira/browse/ARROW-2322
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: Wes McKinney
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.10.0
>
>
> I am unable to run this script on Ubuntu 16.04
> {code}
> [INFO] [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on 
> project arrow-java-root: Failed to deploy artifacts: Could not transfer 
> artifact org.apache.arrow:arrow-java-root:pom:0.9.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/arrow/arrow-java-root/0.9.0/arrow-java-root-0.9.0.pom.
>  Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
> {code}
> I'm sure there's an easy fix for this, but the requirements aren't documented 
> in dev/release/README, so other PMC members are likely to also have problems



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to