Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68469

Prepare Remoting Kafka for removal of JAXB and Java 11 requirement

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • remoting-kafka-plugin
    • None

      JAXB was removed from Java 9+. In 2.164, JAXB was detached into the JAXB API plugin, which means that any plugin with a Jenkins baseline prior to 2.164 will get JAXB on its classpath via the detached plugin mechanism. Any plugin with a Jenkins baseline greater than or equal to 2.164 will get JAXB on its classpath if and only if it declares a plugin-to-plugin dependency on JAXB (recommended) or embeds JAXB into its own .jpi via a direct or transitive dependency.

      A systematic search of the plugin corpus was conducted on May 9, 2022; this search revealed that this plugin has a baseline greater than or equal to 2.164, a direct or transitive usage of JAXB, no plugin-to-plugin dependency on JAXB, and no copy of JAXB in the .jpi. The recommendation for this plugin is to stop embedding Jackson 2 in the .jpi and instead declare a plugin-to-plugin dependency on the Jackson 2 API plugin, which will automatically give you a plugin-to-plugin dependency on JAXB API plugin.

      This plugin's identified usage of JAXB is as follows:

      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/adapters/XmlAdapter via com/fasterxml/jackson/module/jaxb/AdapterConverter.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/adapters/XmlAdapter via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter$DEFAULT via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/adapters/XmlJavaTypeAdapters via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlAccessOrder via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlAccessorOrder via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlAccessorType via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlAccessType via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector$1.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlAccessType via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlAttribute via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlElement$DEFAULT via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlElementRefs via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlElementRef via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlElements via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlElement via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlElementWrapper via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlEnumValue via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlEnum via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlIDREF via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlID via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlRootElement via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlSeeAlso via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlTransient via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlType via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/annotation/XmlValue via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class
      Plugin remoting-kafka:2.0.1 using javax/xml/bind/JAXBElement via com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.class

            pvtuan10 Pham Vu Tuan
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: