This is an automated email from the ASF dual-hosted git repository.
stoty 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 3faa8c4fe06 HBASE-29702 Remove shade plugin from hbase-protocol-shaded
(#7438)
3faa8c4fe06 is described below
commit 3faa8c4fe062886ef3e507b9076ed8e3a6500da5
Author: Istvan Toth <[email protected]>
AuthorDate: Thu Nov 6 09:04:47 2025 +0100
HBASE-29702 Remove shade plugin from hbase-protocol-shaded (#7438)
Signed-off-by: Nihal Jain <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
(cherry picked from commit 33c4bdca5b3fcd8edbe55e219c9ff60d159d92fc)
---
hbase-protocol-shaded/pom.xml | 50 -------------------------------------------
1 file changed, 50 deletions(-)
diff --git a/hbase-protocol-shaded/pom.xml b/hbase-protocol-shaded/pom.xml
index 091140210d1..8cf6efa51e8 100644
--- a/hbase-protocol-shaded/pom.xml
+++ b/hbase-protocol-shaded/pom.xml
@@ -108,61 +108,11 @@
of com.google.protobuf so instead its o.a.h.h.com.google.protobuf.
Plugin is old and in google code archive. Here is usage done by
anohther:
https://github.com/beiliubei/maven-replacer-plugin/wiki/Usage-Guide
- The mess with the regex in the below is to prevent replacement
every time
- we run mvn install. There is probably a better way of avoiding the
- double interpolation but this is it for now.
-->
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.4.1</version>
- <executions>
- <execution>
- <goals>
- <goal>shade</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <minimizeJar>true</minimizeJar>
- <shadeSourcesContent>true</shadeSourcesContent>
- <!-- Causes an NPE until shade 3.0.1. See MSHADE-247
- <createSourcesJar>true</createSourcesJar>
- -->
- <relocations>
- <relocation>
- <pattern>com.google.protobuf</pattern>
-
<shadedPattern>org.apache.hadoop.hbase.shaded.com.google.protobuf</shadedPattern>
- </relocation>
- </relocations>
- <artifactSet>
- <excludes>
- <!-- exclude J2EE modules that come in for JDK11+ or modules
that come in for
- JDK8+ but need not be included -->
- <exclude>javax.annotation:javax.annotation-api</exclude>
- <!--Exclude protobuf itself. We get a patched version from
hbase-thirdparty.
- -->
- <exclude>org.apache.hbase.thirdparty:*</exclude>
- <exclude>com.google.protobuf:protobuf-java</exclude>
- <exclude>com.google.code.findbugs:*</exclude>
- <exclude>com.google.j2objc:j2objc-annotations</exclude>
-
<exclude>org.codehaus.mojo:animal-sniffer-annotations</exclude>
- <exclude>junit:junit</exclude>
- <exclude>log4j:log4j</exclude>
- <exclude>commons-logging:commons-logging</exclude>
- <exclude>org.slf4j:slf4j-api</exclude>
- <exclude>org.apache.yetus:audience-annotations</exclude>
- <exclude>com.github.stephenc.fingbugs:*</exclude>
- <exclude>com.github.spotbugs:*</exclude>
- </excludes>
- </artifactSet>
- </configuration>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>