From 5c15ac63de930ff03e7b94ae01b3ab0c1cb4a623 Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Fri, 29 Apr 2022 08:05:24 +0800 Subject: [PATCH] HBASE-26932 Skip generating ref guide when running 'mvn site' on branch other than master (#4360) Signed-off-by: GeorryHuang (cherry picked from commit 30908482c5eb8434e93a28a7c6a861bf903d1f83) --- .../hbase-archetype-builder/pom.xml | 2 +- pom.xml | 114 +----------------- 2 files changed, 2 insertions(+), 114 deletions(-) diff --git a/hbase-archetypes/hbase-archetype-builder/pom.xml b/hbase-archetypes/hbase-archetype-builder/pom.xml index c35c115d025..f914e7c8527 100644 --- a/hbase-archetypes/hbase-archetype-builder/pom.xml +++ b/hbase-archetypes/hbase-archetype-builder/pom.xml @@ -179,7 +179,7 @@ org.codehaus.mojo xml-maven-plugin - 1.0.1 + ${xml.maven.version} diff --git a/pom.xml b/pom.xml index d9ef8868978..bf5a3bda613 100644 --- a/pom.xml +++ b/pom.xml @@ -939,41 +939,6 @@ - - org.codehaus.mojo - xml-maven-plugin - 1.0 - false - - - - - transform - - pre-site - - - - - - - - ${basedir}/hbase-common/src/main/resources/ - - hbase-default.xml - - ${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl - - - ^(.*)\.xml$ - $1.adoc - - - ${basedir}/target/asciidoc - - - - @@ -1108,83 +1073,6 @@ UTF-8 - - - org.asciidoctor - asciidoctor-maven-plugin - ${asciidoctor.plugin.version} - false - - - org.asciidoctor - asciidoctorj-pdf - 1.5.0-alpha.11 - - - - target/site - book - images - coderay - - ${project.version} - ${project.build.sourceDirectory} - - - - - - output-html - site - - process-asciidoc - - - - hbase.css - - html5 - - - - output-pdf - site - - process-asciidoc - - - pdf - - - - - - - - - - - - - maven-antrun-plugin - ${maven.antrun.version} - false - - - - rename-pdf - post-site - - - - - - - - run - - - - org.codehaus.mojo buildnumber-maven-plugin @@ -1300,10 +1188,10 @@ When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml` --> 6.18 - 1.5.3 2.8.2 3.1.0-RC1 3.0.0-M1 + 1.0.1 /usr /etc/hbase