diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh index 4c5c12d10262..4892252ef868 100755 --- a/dev-support/make_rc.sh +++ b/dev-support/make_rc.sh @@ -55,7 +55,7 @@ function tgz_mover { function deploy { MAVEN_OPTS="${mvnopts}" ${mvn} clean install -DskipTests -Prelease - MAVEN_OPTS="${mvnopts}" ${mvn} install -DskipTests site assembly:single -Prelease + MAVEN_OPTS="${mvnopts}" ${mvn} install -DskipTests post-site assembly:single -Prelease tgz_mover MAVEN_OPTS="${mvnopts}" ${mvn} deploy -DskipTests -Papache-release } diff --git a/dev-support/publish_hbase_website.sh b/dev-support/publish_hbase_website.sh index 072de8dcf041..8da18e7a9a0c 100755 --- a/dev-support/publish_hbase_website.sh +++ b/dev-support/publish_hbase_website.sh @@ -88,7 +88,7 @@ if [ $INTERACTIVE ]; then read -p "Build the site? (y/n)" yn case $yn in [Yy]* ) - mvn clean package javadoc:aggregate site post-site site:stage -DskipTests + mvn clean package javadoc:aggregate post-site site:stage -DskipTests status=$? if [ $status -ne 0 ]; then echo "The website does not build. Aborting." @@ -101,7 +101,7 @@ if [ $INTERACTIVE ]; then esac else echo "Building the site in auto mode." - mvn clean package javadoc:aggregate site post-site site:stage -DskipTests + mvn clean package javadoc:aggregate post-site site:stage -DskipTests status=$? if [ $status != 0 ]; then echo "The website does not build. Aborting." diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 701b42618446..e7c98cec6116 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -901,18 +901,18 @@ checkSiteXml () { echo "" echo "" - echo "$MVN package site -DskipTests -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/patchSiteOutput.txt 2>&1" + echo "$MVN package post-site -DskipTests -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/patchSiteOutput.txt 2>&1" export MAVEN_OPTS="${MAVEN_OPTS}" - $MVN package site -DskipTests -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/patchSiteOutput.txt 2>&1 + $MVN package post-site -DskipTests -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/patchSiteOutput.txt 2>&1 if [[ $? != 0 ]] ; then JIRA_COMMENT="$JIRA_COMMENT - {color:red}-1 site{color}. The patch appears to cause mvn site goal to fail." + {color:red}-1 site{color}. The patch appears to cause mvn post-site goal to fail." return 1 fi JIRA_COMMENT="$JIRA_COMMENT - {color:green}+1 site{color}. The mvn site goal succeeds with this patch." + {color:green}+1 site{color}. The mvn post-site goal succeeds with this patch." return 0 } diff --git a/pom.xml b/pom.xml index 492365a5c1f4..b9d0ef011974 100644 --- a/pom.xml +++ b/pom.xml @@ -1080,6 +1080,7 @@ + org.apache.maven.plugins maven-antrun-plugin ${maven.antrun.version} false @@ -1191,7 +1192,7 @@ 1.46 2.4 - 1.6 + 1.8 2.3.4 1.3.9-1 2.9 @@ -1794,7 +1795,7 @@ - Maven Exceution Environment + Maven Execution Environment MAVEN_OPTS="${env.MAVEN_OPTS}"