This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-3 by this push:
     new 19ddafa8b61 HBASE-28270 Remove the xml-maven-plugin in root pom on 
branch-3 (#5587)
19ddafa8b61 is described below

commit 19ddafa8b61d72eea9eb0f1302b17a583b0e7974
Author: Duo Zhang <zhang...@apache.org>
AuthorDate: Wed Dec 20 16:07:53 2023 +0800

    HBASE-28270 Remove the xml-maven-plugin in root pom on branch-3 (#5587)
    
    Signed-off-by: Nihal Jain <nihalj...@apache.org>
---
 hbase-archetypes/hbase-archetype-builder/pom.xml |  1 +
 pom.xml                                          | 35 ------------------------
 2 files changed, 1 insertion(+), 35 deletions(-)

diff --git a/hbase-archetypes/hbase-archetype-builder/pom.xml 
b/hbase-archetypes/hbase-archetype-builder/pom.xml
index 2533b2458c0..017e03227fa 100644
--- a/hbase-archetypes/hbase-archetype-builder/pom.xml
+++ b/hbase-archetypes/hbase-archetype-builder/pom.xml
@@ -179,6 +179,7 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>xml-maven-plugin</artifactId>
+        <version>${xml.maven.version}</version>
         <executions>
           <!-- xml-maven-plugin modifies each exemplar project's pom.xml file 
to convert to standalone project. -->
           <execution>
diff --git a/pom.xml b/pom.xml
index d62e4b117ad..7f2b267c984 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2580,41 +2580,6 @@
         </executions>
       </plugin>
       <!-- parent-module only plugins -->
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>xml-maven-plugin</artifactId>
-        <version>${xml.maven.version}</version>
-        <inherited>false</inherited>
-        <configuration>
-          <transformationSets>
-            <!-- For asciidoc -->
-            <transformationSet>
-              <!--Reaching up and over into common sub-module for 
hbase-default.xml-->
-              <dir>${basedir}/hbase-common/src/main/resources/</dir>
-              <includes>
-                <include>hbase-default.xml</include>
-              </includes>
-              
<stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
-              <fileMappers>
-                <fileMapper 
implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
-                  <pattern>^(.*)\.xml$</pattern>
-                  <replacement>$1.adoc</replacement>
-                </fileMapper>
-              </fileMappers>
-              <outputDir>${basedir}/target/asciidoc</outputDir>
-            </transformationSet>
-          </transformationSets>
-        </configuration>
-        <executions>
-          <execution>
-            <!-- Run the hbase-default.xml through a stylesheet so can show it 
in doc-->
-            <goals>
-              <goal>transform</goal>
-            </goals>
-            <phase>site</phase>
-          </execution>
-        </executions>
-      </plugin>
       <!-- Special configuration for spotbugs just in the parent so
       the filter file location can be more general (see definition in 
pluginManagement) -->
       <plugin>

Reply via email to