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

Prepare Azure AD for removal of JAXB and Java 11 requirement

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • _unsorted
    • None
    • 218.v90f6a_980b_a_61

      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. For compatibility with Java 11, this plugin must declare an explicit dependency on the JAXB API plugin as follows:

      <dependency>
        <groupId>io.jenkins.plugins</groupId>
        <artifactId>jaxb</artifactId>
        <version>2.3.6-1</version>
      </dependency>
      

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

      Plugin azure-ad:195.v8555a0bf0d22 using javax/xml/bind/DatatypeConverter via com/github/scribejava/core/services/DatatypeConverterEncoder.class

          [JENKINS-68452] Prepare Azure AD for removal of JAXB and Java 11 requirement

          Basil Crow created issue -
          Tim Jacomb made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Tim Jacomb made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/azure-ad-plugin/pull/204 (Web Link)" [ 27745 ]
          Tim Jacomb made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/azure-ad-plugin/pull/225 (Web Link)" [ 27748 ]
          Tim Jacomb made changes -
          Released As New: 218.v90f6a_980b_a_61
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Basil Crow made changes -
          Assignee New: Tim Jacomb [ timja ]
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            timja Tim Jacomb
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: