ARROW-1069: Add instructions for publishing maven artifacts Author: Julien Le Dem <jul...@apache.org>
Closes #716 from julienledem/ARROW-1069 and squashes the following commits: 8896189 [Julien Le Dem] ARROW-1069: Add instructions for publishing maven artifacts Project: http://git-wip-us.apache.org/repos/asf/arrow/repo Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/03e8b54d Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/03e8b54d Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/03e8b54d Branch: refs/heads/master Commit: 03e8b54d8242daf0358e39cd2ccb1f0599223c9e Parents: 8a700cc Author: Julien Le Dem <jul...@apache.org> Authored: Fri May 26 12:47:14 2017 -0400 Committer: Wes McKinney <wes.mckin...@twosigma.com> Committed: Wed May 31 13:45:48 2017 -0400 ---------------------------------------------------------------------- dev/release/README | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/arrow/blob/03e8b54d/dev/release/README ---------------------------------------------------------------------- diff --git a/dev/release/README b/dev/release/README index cf68028..c53d1d8 100644 --- a/dev/release/README +++ b/dev/release/README @@ -15,10 +15,11 @@ source dev/release/setup-gpg-agent.sh sh dev/release/00-prepare.sh 0.1.0 0.1.1 # push the tag git push apache apache-arrow-0.1.0 -# tag and push to maven repo (repo will have to be finalized separately) +# tag and stage artifacts to maven repo (repo will have to be finalized separately) sh dev/release/01-perform.sh # create the source release sh dev/release/02-source.sh 0.1.0 0 +# once the vote has passed, publish the staged maven artifacts (see bellow) useful commands: - to set the mvn version in the poms @@ -30,3 +31,21 @@ eval $(gpg-agent --daemon --allow-preset-passphrase) gpg --use-agent -s LICENSE.txt - delete tag localy git tag -d apache-arrow-0.1.0 + +How to stage maven artifacts: +artifacts get staged during the perform phase of the scripts above. +If you need to stage the artifacts again follow the instructions bellow: +# checkout the relese tag +git checkout apache-arrow-0.1.0 +# setup the gpg agent for signing artifacts +source dev/release/setup-gpg-agent.sh +# go in the java subfolder +cd java +# stage the artifacts +mvn -Papache-release deploy + +How to publish the staged artifacts: +Logon to the apache repository: https://repository.apache.org/#stagingRepositories +Select the arrow staging repository you just just created: orgapachearrow-100x +Click the "close" button +Once validation has passed, click the "release" button