HBASE-22585 Ensure javax.annotation doesn't get include in shaded artifacts when built with Java 11
Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
parent
79ee19b0c7
commit
e14b5f0edc
|
@ -57,6 +57,7 @@
|
|||
<!-- exclude J2EE modules that come in for JDK11+ (since
|
||||
hadoop-3.2.0) or modules that come in for JDK8+ but
|
||||
need not be included -->
|
||||
<exclude>javax.annotation:javax.annotation-api</exclude>
|
||||
<exclude>javax.activation:javax.activation-api</exclude>
|
||||
<!--
|
||||
Tell the shade plugin that in this case we want to include hadoop
|
||||
|
|
|
@ -135,6 +135,7 @@
|
|||
<!-- exclude J2EE modules that come in for JDK11+ (since
|
||||
hadoop-3.2.0) or modules that come in for JDK8+ but
|
||||
need not be included -->
|
||||
<exclude>javax.annotation:javax.annotation-api</exclude>
|
||||
<exclude>javax.activation:javax.activation-api</exclude>
|
||||
<!-- default to excluding Hadoop, have module that want
|
||||
to include it redefine the exclude list -->
|
||||
|
|
Loading…
Reference in New Issue