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.
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
Attachments
Issue Links
- is a clone of
-
PHOENIX-6381 Shade or exclude javax.activation:javax.activation-api and javax.xml.bind:jaxb-api from the embedded client.
- Resolved
- links to