From 55ba7411c1b79f8d973059abcf1a5c943d5ad906 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 6 Jun 2013 22:55:55 +0000 Subject: [PATCH] Add note on how to publish mvn snapshot for hadoop1 and hadoop2 git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1490467 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/docbkx/developer.xml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/main/docbkx/developer.xml b/src/main/docbkx/developer.xml index 6a6ce3c9b16..c9902352d1a 100644 --- a/src/main/docbkx/developer.xml +++ b/src/main/docbkx/developer.xml @@ -180,13 +180,20 @@ mvn clean package -DskipTests checkout; the binary builds will have unchecked-in modifications to their pom adding the hadoop1/hadoop2 suffix to the version string). $ MAVEN_OPTS="-Xmx2g" mvn clean install javadoc:aggregate site assembly:single -DskipTests -Dassembly.file=hbase-assembly/src/main/assembly/src.xml -Prelease - $ mvn clean org.codehaus.mojo:versions-maven-plugin:1.3.1:set -DnewVersion=0.95.1-hadoop1 - # Copy away the src tgz found in hbase-assembly/target after verifying the content of the tgz is good. - $ MAVEN_OPTS="-Xmx2g" mvn clean install javadoc:aggregate site assembly:single -DskipTests -Dassembly.file=hbase-assembly/src/main/assembly/hadoop-one-compat.xml -Dhadoop.profile=1.0 -Prelease - # Copy away the hadoop1 bing tgz found in hbase-assembly/target after verifying the content of the tgz is good. - $ mvn clean org.codehaus.mojo:versions-maven-plugin:1.3.1:set -DnewVersion=0.95.1-hadoop2 - $ MAVEN_OPTS="-Xmx2g" mvn clean install javadoc:aggregate site assembly:single -DskipTests -Dassembly.file=hbase-assembly/src/main/assembly/hadoop-two-compat.xml -Dhadoop.profile=2.0 -Prelease - # Copy away the hadoop2 bing tgz found in hbase-assembly/target after verifying the content of the tgz is good. +# Copy away the src tgz found in hbase-assembly/target after verifying the content of the tgz is good. +# Now set the version in all poms to include -hadoop1 +$ mvn clean org.codehaus.mojo:versions-maven-plugin:1.3.1:set -DnewVersion=0.95.1-hadoop1 +# Create a tgz w/ this -hadoop1 appended to version. +$ MAVEN_OPTS="-Xmx2g" mvn clean install javadoc:aggregate site assembly:single -DskipTests -Dassembly.file=hbase-assembly/src/main/assembly/hadoop-one-compat.xml -Dhadoop.profile=1.0 -Prelease +# Copy away the hadoop1 bing tgz found in hbase-assembly/target after verifying the content of the tgz is good. +# Here is how to do a publish of a 'snapshot' up to mvn repo of this -hadoop1 version. +$ MAVEN_OPTS="-Xmx2g" mvn clean install deploy -DskipTests -Dhadoop.profile=1.0 -Prelease +# Now set the version to -hadoop2 +$ mvn clean org.codehaus.mojo:versions-maven-plugin:1.3.1:set -DnewVersion=0.95.1-hadoop2 +$ MAVEN_OPTS="-Xmx2g" mvn clean install javadoc:aggregate site assembly:single -DskipTests -Dassembly.file=hbase-assembly/src/main/assembly/hadoop-two-compat.xml -Dhadoop.profile=2.0 -Prelease +# Copy away the hadoop2 bing tgz found in hbase-assembly/target after verifying the content of the tgz is good. +# Here is how to do a publish of a 'snapshot' up to mvn repo of this -hadoop1 version. +$ MAVEN_OPTS="-Xmx2g" mvn clean install deploy -DskipTests -Dhadoop.profile=2.0 -Prelease Next sign the tgzs and deploy (see the hadoop how to release instructions for how).