Updated Jersey to 3.1.x and fixed jackson-jaxrs (#646)
Change-Id: I6d35caeacc03a19c9c5786b1440bd6a75c4d49b2
diff --git a/full/pom.xml b/full/pom.xml
index 8ac1a0e..bf4085c 100644
--- a/full/pom.xml
+++ b/full/pom.xml
@@ -7,7 +7,7 @@
<properties>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <jersey.version>3.0.11</jersey.version>
+ <jersey.version>3.1.3</jersey.version>
<hibernate.ehcache.version>6.0.0.Alpha7</hibernate.ehcache.version>
<hibernate.version>6.1.7.Final</hibernate.version>
<spring.version>6.0.11</spring.version>
@@ -292,7 +292,7 @@
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<version>${jersey.version}</version>
- <exclusions>
+ <!--<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
@@ -301,7 +301,7 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
- </exclusions>
+ </exclusions>-->
</dependency>
<dependency>
<groupId>net.minidev</groupId>
@@ -310,11 +310,17 @@
</dependency>
<!-- Jersey 1x originally uses codehaus -->
- <dependency>
+ <!--<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>2.15.1</version>
</dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jakarta.rs</groupId>
+ <artifactId>jackson-jakarta-rs-json-provider</artifactId>
+ <version>2.15.2</version>
+ </dependency>-->
+
<!-- Flyway -->
<dependency>
@@ -449,6 +455,10 @@
<version>${krill.version}</version>
<exclusions>
<exclusion>
+ <groupId>com.fasterxml.jackson.jaxrs</groupId>
+ <artifactId>jackson-jaxrs-json-provider</artifactId>
+ </exclusion>
+ <exclusion>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-grizzly2-http</artifactId>
</exclusion>