Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6903

Shade or exclude javax.xml.bind:jaxb-api from the shaded client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.1.2, 5.1.3
    • 5.2.0, 5.1.4
    • None
    • None

    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

          Activity

            People

              stoty Istvan Toth
              electrum David Phillips
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: