From a06efb48fd742f5cd1aed2df187fea174822d031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Maisse?= Date: Wed, 8 Nov 2023 15:36:40 +0100 Subject: [PATCH] fix: move to `jakarta.xml.bind-api` dependency https://gravitee.atlassian.net/browse/APIM-3245 https://github.com/gravitee-io/issues/issues/9371 --- pom.xml | 8 ++++---- .../io/gravitee/policy/generatejwt/GenerateJwtPolicy.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 2982bdfd..e9670199 100644 --- a/pom.xml +++ b/pom.xml @@ -40,6 +40,7 @@ 2.3.0 9.31 1.70 + 3.0.1 1.2.1 3.6.0 @@ -93,10 +94,9 @@ - javax.xml.bind - jaxb-api - 2.3.0 - provided + jakarta.xml.bind + jakarta.xml.bind-api + ${jakarta.xml.bind-api.version} diff --git a/src/main/java/io/gravitee/policy/generatejwt/GenerateJwtPolicy.java b/src/main/java/io/gravitee/policy/generatejwt/GenerateJwtPolicy.java index 93480355..78c65ccd 100644 --- a/src/main/java/io/gravitee/policy/generatejwt/GenerateJwtPolicy.java +++ b/src/main/java/io/gravitee/policy/generatejwt/GenerateJwtPolicy.java @@ -38,6 +38,7 @@ import io.gravitee.policy.generatejwt.alg.Signature; import io.gravitee.policy.generatejwt.configuration.GenerateJwtPolicyConfiguration; import io.gravitee.policy.generatejwt.configuration.X509CertificateChain; +import jakarta.xml.bind.DatatypeConverter; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; @@ -56,7 +57,6 @@ import java.util.List; import java.util.Map; import java.util.stream.Collectors; -import javax.xml.bind.DatatypeConverter; /** * @author David BRASSELY (david.brassely at graviteesource.com)