-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
-
137.vb0fc903432d7
Prepare BMC DevOps for CFA for removal of JAXB and Java 11 requirement
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 switch from JAXB to Java's built-in Base64 class for Base64 encoding/decoding.
This plugin's identified usage of JAXB is as follows:
Plugin bmc-cfa:132.v9d972eea5010 using javax/xml/bind/DatatypeConverter via com/bmc/ims/JCLService.class
- links to
[JENKINS-68454] Prepare BMC DevOps for CFA for removal of JAXB and Java 11 requirement
Assignee | New: Basil Crow [ basil ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "jenkinsci/bmc-cfa-plugin#30 (Web Link)" [ 27729 ] |
Description |
Original:
Prepare BMC DevOps for CFA for removal of JAXB and Java 11 requirement
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: {code:xml} <dependency> <groupId>io.jenkins.plugins</groupId> <artifactId>jaxb</artifactId> <version>2.3.6-1</version> </dependency> {code} This plugin's identified usage of JAXB is as follows: Plugin bmc-cfa:132.v9d972eea5010 using javax/xml/bind/DatatypeConverter via com/bmc/ims/JCLService.class |
New:
Prepare BMC DevOps for CFA for removal of JAXB and Java 11 requirement
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 switch from JAXB to Java's built-in Base64 class for Base64 encoding/decoding. This plugin's identified usage of JAXB is as follows: Plugin bmc-cfa:132.v9d972eea5010 using javax/xml/bind/DatatypeConverter via com/bmc/ims/JCLService.class |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Fixed but Unreleased [ 10203 ] |
Released As | New: 137.vb0fc903432d7 | |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Closed [ 6 ] |