From 1d133c005c26c01628fcc622c3095ddccb80bd6b Mon Sep 17 00:00:00 2001 From: Sean Busbey Date: Thu, 12 Apr 2018 21:55:27 -0500 Subject: [PATCH] HBASE-20389 Move website building flags into a profile. Signed-off-by: Mike Drob Conflicts: hbase-spark/pom.xml pom.xml --- .../jenkins-scripts/generate-hbase-website.sh | 11 ++----- pom.xml | 31 +++++++++++++++++++ 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/dev-support/jenkins-scripts/generate-hbase-website.sh b/dev-support/jenkins-scripts/generate-hbase-website.sh index b6277d0b2c6..0ef9b2de01f 100644 --- a/dev-support/jenkins-scripts/generate-hbase-website.sh +++ b/dev-support/jenkins-scripts/generate-hbase-website.sh @@ -173,20 +173,13 @@ echo "Building HBase" # But! some sunshine: because we're doing a full install before running site, we can skip all the # compiling in the forked executions. We have to do it awkwardly because MJAVADOC-444. if mvn \ - -DskipTests \ - -Dmaven.javadoc.skip=true \ --batch-mode \ - -Denforcer.skip=true \ - -Dcheckstyle.skip=true \ - -Dfindbugs.skip=true \ + -Psite-install-step \ --log-file="${working_dir}/hbase-install-log-${CURRENT_HBASE_COMMIT}.txt" \ clean install \ && mvn site \ --batch-mode \ - -Denforcer.skip=true \ - -Dmaven.main.skip=true \ - -Dmaven.test.skip=true \ - -DskipTests \ + -Psite-build-step \ --log-file="${working_dir}/hbase-site-log-${CURRENT_HBASE_COMMIT}.txt"; then echo "Successfully built site." else diff --git a/pom.xml b/pom.xml index 47090040394..9c78ef9f8af 100755 --- a/pom.xml +++ b/pom.xml @@ -3376,6 +3376,37 @@ + + + site-install-step + + true + true + true + true + true + true + + + + + site-build-step + + true + true + true + true + true + true + true + +