Skip to content

Commit 6fa1327

Browse files
committed
[KYUUBI #1560] Align all Jackson libs version
### _Why are the changes needed?_ Fix missing version of `jackson-module-jaxb-annotations` in `dependencyManagement` ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1560 from pan3793/jackson-1. Closes #1560 49529d4 [Cheng Pan] Update deps b361000 [Cheng Pan] fix 6704484 [Cheng Pan] Algin all Jackson libs version Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
1 parent 22d967e commit 6fa1327

File tree

2 files changed

+37
-3
lines changed

2 files changed

+37
-3
lines changed

dev/dependencyList

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ jackson-dataformat-yaml/2.11.4//jackson-dataformat-yaml-2.11.4.jar
4444
jackson-datatype-jsr310/2.11.4//jackson-datatype-jsr310-2.11.4.jar
4545
jackson-jaxrs-base/2.11.4//jackson-jaxrs-base-2.11.4.jar
4646
jackson-jaxrs-json-provider/2.11.4//jackson-jaxrs-json-provider-2.11.4.jar
47-
jackson-module-jaxb-annotations/2.9.9//jackson-module-jaxb-annotations-2.9.9.jar
47+
jackson-module-jaxb-annotations/2.11.4//jackson-module-jaxb-annotations-2.11.4.jar
4848
jackson-module-paranamer/2.11.4//jackson-module-paranamer-2.11.4.jar
4949
jackson-module-scala_2.12/2.11.4//jackson-module-scala_2.12-2.11.4.jar
50-
jakarta.activation/2.0.0//jakarta.activation-2.0.0.jar
50+
jakarta.activation-api/1.2.1//jakarta.activation-api-1.2.1.jar
5151
jakarta.annotation-api/1.3.5//jakarta.annotation-api-1.3.5.jar
5252
jakarta.inject/2.6.1//jakarta.inject-2.6.1.jar
5353
jakarta.servlet-api/4.0.4//jakarta.servlet-api-4.0.4.jar
5454
jakarta.validation-api/2.0.2//jakarta.validation-api-2.0.2.jar
5555
jakarta.ws.rs-api/2.1.6//jakarta.ws.rs-api-2.1.6.jar
56-
jakarta.xml.bind-api/3.0.0//jakarta.xml.bind-api-3.0.0.jar
56+
jakarta.xml.bind-api/2.3.2//jakarta.xml.bind-api-2.3.2.jar
5757
javassist/3.25.0-GA//javassist-3.25.0-GA.jar
5858
jaxb-api/2.2.11//jaxb-api-2.2.11.jar
5959
jcl-over-slf4j/1.7.30//jcl-over-slf4j-1.7.30.jar

pom.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,22 @@
628628
<version>${jackson.version}</version>
629629
</dependency>
630630

631+
<dependency>
632+
<groupId>com.fasterxml.jackson.module</groupId>
633+
<artifactId>jackson-module-jaxb-annotations</artifactId>
634+
<version>${jackson.version}</version>
635+
<exclusions>
636+
<exclusion>
637+
<artifactId>jakarta.xml.bind-api</artifactId>
638+
<groupId>jakarta.xml.bind</groupId>
639+
</exclusion>
640+
<exclusion>
641+
<artifactId>jakarta.activation-api</artifactId>
642+
<groupId>jakarta.activation</groupId>
643+
</exclusion>
644+
</exclusions>
645+
</dependency>
646+
631647
<dependency>
632648
<groupId>com.fasterxml.jackson.module</groupId>
633649
<artifactId>jackson-module-scala_${scala.binary.version}</artifactId>
@@ -661,6 +677,12 @@
661677
<groupId>com.github.swagger-akka-http</groupId>
662678
<artifactId>swagger-scala-module_${scala.binary.version}</artifactId>
663679
<version>${swagger.scala.module.version}</version>
680+
<exclusions>
681+
<exclusion>
682+
<artifactId>jakarta.xml.bind-api</artifactId>
683+
<groupId>jakarta.xml.bind</groupId>
684+
</exclusion>
685+
</exclusions>
664686
</dependency>
665687

666688
<dependency>
@@ -926,6 +948,18 @@
926948
</dependency>
927949

928950
<!-- RESTful service required -->
951+
<dependency>
952+
<groupId>org.glassfish.jersey.core</groupId>
953+
<artifactId>jersey-common</artifactId>
954+
<version>${jersey.version}</version>
955+
<exclusions>
956+
<exclusion>
957+
<groupId>com.sun.activation</groupId>
958+
<artifactId>jakarta.activation</artifactId>
959+
</exclusion>
960+
</exclusions>
961+
</dependency>
962+
929963
<dependency>
930964
<groupId>org.glassfish.jersey.core</groupId>
931965
<artifactId>jersey-server</artifactId>

0 commit comments

Comments
 (0)