HBASE-22268 Exclude javax.activation coming from Hadoop 3.2+ from shaded artifacts

Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
Adam Antal 2019-04-18 17:36:55 +02:00 committed by Sean Busbey
parent 7154ea7114
commit ce1a96f2f6
2 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,8 @@
<excludes>
<!-- exclude J2EE modules that come in for JDK11+ -->
<exclude>javax.annotation:javax.annotation-api</exclude>
<!-- 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.

View File

@ -134,6 +134,8 @@
<excludes>
<!-- exclude J2EE modules that come in for JDK11+ -->
<exclude>javax.annotation:javax.annotation-api</exclude>
<!-- 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>