From c7da56f21b7308cf009545f64043efc3f0849af0 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 19 Sep 2013 04:32:40 +0000 Subject: [PATCH] Add pointer to hbase-downstreamer for testing if mvn artifacts properly published git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1524624 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/docbkx/developer.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/docbkx/developer.xml b/src/main/docbkx/developer.xml index a2e9d46bab6..71b82d74c7f 100644 --- a/src/main/docbkx/developer.xml +++ b/src/main/docbkx/developer.xml @@ -250,7 +250,8 @@ mvn clean package -DskipTests
Making a Release Candidate - I'll explain by running through the process. See later in this section for more detail on particular steps. + I'll explain by running through the process. See later in this section for more detail on particular steps. + The script dev-support/make_rc.sh automates most of this. The Hadoop How To Release wiki page informs much of the below and may have more detail on particular sections so it is worth review. Update CHANGES.txt with the changes since the last release (query JIRA, export to excel then hack w/ vim to format to suit CHANGES.txt TODO: Needs detail). @@ -294,6 +295,13 @@ it will invoke the apache pom referenced by our poms. It will also sign your ar repository is configured correctly (your settings.xml adds your gpg password property to the apache profile). $ MAVEN_OPTS="-Xmx3g" mvn -f pom.xml.hadoop1 deploy -DskipTests -Papache-release The last command above copies all artifacts for hadoop1 up to mvn repo. If no -SNAPSHOT in the version, it puts the artifacts into a staging directory. This is what you want. + + hbase-downstreamer + + See the hbase-downstreamer test for a simple example of a project that is downstream of hbase an depends on it. + Check it out and run its simple test to make sure maven hbase-hadoop1 and hbase-hadoop2 are properly deployed to the maven repository. + + Lets do the hadoop2 artifacts (read above hadoop1 section closely before coming here because we don't repeat explaination in the below). @@ -303,7 +311,7 @@ $ ./dev-support/generate-hadoopX-poms.sh 0.96.0 0.96.0-hadoop2 $ MAVEN_OPTS="-Xmx3g" mvn -f pom.xml.hadoop2 clean install -DskipTests -Prelease $ MAVEN_OPTS="-Xmx3g" mvn -f pom.xml.hadoop2 install -DskipTests site assembly:single -Prelease # Undo the tgz and check it out. If good, copy the tarball to your 'version directory'. Now deploy to mvn. -$ MAVEN_OPTS="-Xmx3g" mvn -f pom.xml.hadoop2 deploy -DskipTests -Papache-release -Pgpg +$ MAVEN_OPTS="-Xmx3g" mvn -f pom.xml.hadoop2 deploy -DskipTests -Papache-release