[ 
https://issues.apache.org/jira/browse/PHOENIX-6903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Phillips updated PHOENIX-6903:
------------------------------------
    Description: 
We should shade or (preferably excude if possible) *javax.xml.bind:jaxb-api* 
from the embedded client. These classes cause conflicts and problems when used 
with other code that import the JAXB dependency.
{code:java}
jar tf 
.m2/repository/org/apache/phoenix/phoenix-client-embedded-hbase-2.2/5.1.2/phoenix-client-embedded-hbase-2.2-5.1.2.jar
 | grep javax/xml/bind | sort | head -n10
javax/xml/bind/
javax/xml/bind/Binder.class
javax/xml/bind/ContextFinder$1.class
javax/xml/bind/ContextFinder$2.class
javax/xml/bind/ContextFinder$3.class
javax/xml/bind/ContextFinder.class
javax/xml/bind/DataBindingException.class
javax/xml/bind/DatatypeConverter.class
javax/xml/bind/DatatypeConverterImpl$CalendarFormatter.class
javax/xml/bind/DatatypeConverterImpl.class {code}

  was:
We should shade or (preferably excude if possible) 
javax.activation:javax.activation-api and javax.xml.bind:jaxb-api from the 
embedded client.

See also: 
https://github.com/trinodb/trino/pull/6865/files/357a03407e2b2943d1751ab35ad96a3a8744c9d7#r574297576



> Shade or exclude javax.xml.bind:jaxb-api from the embedded client.
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-6903
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6903
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 5.1.0
>            Reporter: David Phillips
>            Priority: Major
>             Fix For: 5.1.1, 4.16.0
>
>
> We should shade or (preferably excude if possible) *javax.xml.bind:jaxb-api* 
> from the embedded client. These classes cause conflicts and problems when 
> used with other code that import the JAXB dependency.
> {code:java}
> jar tf 
> .m2/repository/org/apache/phoenix/phoenix-client-embedded-hbase-2.2/5.1.2/phoenix-client-embedded-hbase-2.2-5.1.2.jar
>  | grep javax/xml/bind | sort | head -n10
> javax/xml/bind/
> javax/xml/bind/Binder.class
> javax/xml/bind/ContextFinder$1.class
> javax/xml/bind/ContextFinder$2.class
> javax/xml/bind/ContextFinder$3.class
> javax/xml/bind/ContextFinder.class
> javax/xml/bind/DataBindingException.class
> javax/xml/bind/DatatypeConverter.class
> javax/xml/bind/DatatypeConverterImpl$CalendarFormatter.class
> javax/xml/bind/DatatypeConverterImpl.class {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to