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

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


The following commit(s) were added to refs/heads/branch-2.5 by this push:
     new d8c3d2ad880 HBASE-29821 Fix maven-source-plugin duplicate jar failure 
(#7619)
d8c3d2ad880 is described below

commit d8c3d2ad8801179e2a0fd46ab7ac1e60152c524f
Author: Aman Poonia <[email protected]>
AuthorDate: Thu Jan 15 09:13:04 2026 +0530

    HBASE-29821 Fix maven-source-plugin duplicate jar failure (#7619)
    
    Signed-off-by: Duo Zhang <[email protected]>
    (cherry picked from commit 57ee054f29f78dc4a1179b5f1e7a3c54fec3cd0e)
---
 hbase-hadoop2-compat/pom.xml |  5 -----
 hbase-http/pom.xml           | 14 --------------
 hbase-protocol/pom.xml       |  5 -----
 hbase-rsgroup/pom.xml        |  5 -----
 4 files changed, 29 deletions(-)

diff --git a/hbase-hadoop2-compat/pom.xml b/hbase-hadoop2-compat/pom.xml
index d7caa1d78dc..4d58da2c2a5 100644
--- a/hbase-hadoop2-compat/pom.xml
+++ b/hbase-hadoop2-compat/pom.xml
@@ -147,11 +147,6 @@ limitations under the License.
 
   <build>
     <plugins>
-      <!-- Make a jar and put the sources in the jar -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-      </plugin>
       <plugin>
         <!--Make it so assembly:single does nothing in here-->
         <artifactId>maven-assembly-plugin</artifactId>
diff --git a/hbase-http/pom.xml b/hbase-http/pom.xml
index 65bf513a343..73915718afa 100644
--- a/hbase-http/pom.xml
+++ b/hbase-http/pom.xml
@@ -226,20 +226,6 @@
           <skipAssembly>true</skipAssembly>
         </configuration>
       </plugin>
-      <!-- Make a jar and put the sources in the jar -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>jar</goal>
-              <goal>test-jar</goal>
-            </goals>
-            <phase>package</phase>
-          </execution>
-        </executions>
-      </plugin>
       <!-- Testing plugins -->
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
diff --git a/hbase-protocol/pom.xml b/hbase-protocol/pom.xml
index c18d2408a51..72b7f14b681 100644
--- a/hbase-protocol/pom.xml
+++ b/hbase-protocol/pom.xml
@@ -51,11 +51,6 @@
   </dependencies>
   <build>
     <plugins>
-      <!-- Make a jar and put the sources in the jar -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-      </plugin>
       <plugin>
         <!--Make it so assembly:single does nothing in here-->
         <artifactId>maven-assembly-plugin</artifactId>
diff --git a/hbase-rsgroup/pom.xml b/hbase-rsgroup/pom.xml
index 20d2c4e6ccd..14b6e15340f 100644
--- a/hbase-rsgroup/pom.xml
+++ b/hbase-rsgroup/pom.xml
@@ -189,11 +189,6 @@
           <skipAssembly>true</skipAssembly>
         </configuration>
       </plugin>
-      <!-- Make a jar and put the sources in the jar -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-      </plugin>
       <plugin>
         <groupId>org.xolstice.maven.plugins</groupId>
         <artifactId>protobuf-maven-plugin</artifactId>

Reply via email to