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

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

commit c844660fef1c143904a785b9ecd5e1e2deafc8ab
Author: Adam Antal <[email protected]>
AuthorDate: Thu Apr 18 17:36:55 2019 +0200

    HBASE-22268 Exclude javax.activation coming from Hadoop 3.2+ from shaded 
artifacts
    
    Signed-off-by: Sean Busbey <[email protected]>
    (cherry picked from commit ce1a96f2f641f1ba92f8a2b0ccd91381075daa57)
    
     Conflicts:
        hbase-shaded/hbase-shaded-client/pom.xml
        hbase-shaded/pom.xml
---
 hbase-shaded/hbase-shaded-client/pom.xml | 2 ++
 hbase-shaded/pom.xml                     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/hbase-shaded/hbase-shaded-client/pom.xml 
b/hbase-shaded/hbase-shaded-client/pom.xml
index 8b5f699..651d5ad 100644
--- a/hbase-shaded/hbase-shaded-client/pom.xml
+++ b/hbase-shaded/hbase-shaded-client/pom.xml
@@ -54,6 +54,8 @@
                         <configuration>
                             <artifactSet>
                                 <excludes>
+                                    <!-- exclude J2EE modules that come in for 
JDK11+ (since hadoop-3.2.0) -->
+                                    
<exclude>javax.activation:javax.activation-api</exclude>
                                     <!--
                                       Tell the shade plugin that in this case 
we want to include hadoop
                                       by leaving out the exclude.
diff --git a/hbase-shaded/pom.xml b/hbase-shaded/pom.xml
index cee6874..ba3d8f5 100644
--- a/hbase-shaded/pom.xml
+++ b/hbase-shaded/pom.xml
@@ -132,6 +132,8 @@
                                 <shadeTestJar>false</shadeTestJar>
                                 <artifactSet>
                                     <excludes>
+                                        <!-- exclude J2EE modules that come in 
for JDK11+ (since hadoop-3.2.0) -->
+                                        
<exclude>javax.activation:javax.activation-api</exclude>
                                         <!-- default to excluding Hadoop, have 
module that want
                                              to include it redefine the 
exclude list -->
                                         <exclude>org.apache.hadoop:*</exclude>

Reply via email to