[
https://issues.apache.org/jira/browse/HBASE-26717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17484901#comment-17484901
]
Sean Busbey commented on HBASE-26717:
-------------------------------------
{quote}
The first part is clear.
{quote}
(y) if you end up wanting an example, we do similar exclusions in the main
project to avoid grabbing stuff that comes in under jdk11 with Hadoop:
[https://github.com/apache/hbase/blob/rel/2.4.9/hbase-shaded/hbase-shaded-client/pom.xml#L57]
{quote}
The second part... I assume you mean adding to the activation rule for JDK11+
these dependencies?
jakarta.xml.bind:jakarta.xml.bind-api
jakarta.activation:jakarta.activation-api
{quote}
yep. I think also this one?
{code}
[INFO] | \- com.sun.activation:jakarta.activation:jar:1.2.2:compile
{code}
we do something similar for {{hbase-http}} needing {{jaxb-api}} under jdk11+:
https://github.com/apache/hbase/blob/rel/2.4.9/hbase-http/pom.xml#L261
> [hbase-thirdparty] hbase-shaded-jersey packages unshaded classes
> ----------------------------------------------------------------
>
> Key: HBASE-26717
> URL: https://issues.apache.org/jira/browse/HBASE-26717
> Project: HBase
> Issue Type: Task
> Environment: Apache Maven 3.6.3
> Java version: 1.8.0_312, vendor: Andrew Purtell, runtime: /opt/java-8/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.10.0-11-arm64", arch: "aarch64", family: "unix"
> Reporter: Andrew Kyle Purtell
> Priority: Minor
>
> Found artifact with unexpected contents:
> '/home/apurtell/src/hbase/hbase-shaded/hbase-shaded-mapreduce/target/hbase-shaded-mapreduce-2.5.0-SNAPSHOT.jar'
> com/sun/activation/
> javax/activation/
> javax/xml/bind/
--
This message was sent by Atlassian Jira
(v8.20.1#820001)