From 9cdea13c56c1e84215ff72824f8fe36b81aadc19 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 8 Nov 2022 09:10:42 +0000 Subject: [PATCH] Upgrade to Jakarta XML Bind 4.0.0 and Glassfish JAXB 4.0.1 Closes gh-33055 Closes gh-33052 --- .../spring-boot-dependencies/build.gradle | 21 ++++--------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index f12e46ca09..d48b259778 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -270,20 +270,10 @@ bom { ] } } - library("Glassfish JAXB", "3.0.2") { - prohibit("[3.1.0-M1,)") { - because "it exceeds our Jakarta EE 9 baseline" - } + library("Glassfish JAXB", "4.0.1") { group("org.glassfish.jaxb") { - modules = [ - "codemodel", - "codemodel-annotation-compiler", - "jaxb-jxc", - "jaxb-runtime", - "jaxb-xjc", - "txw2", - "txwc2", - "xsom" + imports = [ + "jaxb-bom" ] } } @@ -587,10 +577,7 @@ bom { ] } } - library("Jakarta XML Bind", "3.0.1") { - prohibit("[4.0.0-RC1,)") { - because "it exceeds our Jakarta EE 9 baseline" - } + library("Jakarta XML Bind", "4.0.0") { group("jakarta.xml.bind") { modules = [ "jakarta.xml.bind-api"