From ad9e2d6c53a66646862b4b03f9c27a47b47fe5a4 Mon Sep 17 00:00:00 2001 From: Rob Vesse Date: Thu, 9 Jan 2025 15:05:18 +0000 Subject: [PATCH] Restore wrongly scoped Jersey related dependencies Even with 0.26.0 release was still getting strange runtime errors in downstream repositories. On further investigation realised this was become some dependencies has been erroneously moved to test scope when they were in fact required for servers to run correctly. They were wrongly classified by dependency analysis as unused because they are not directly used, rather indirectly via Service Loading. This also explains why the tests here didn't fail as these dependencies has simpy been moved to test scope so they were present for the tests and allowed those to pass successfully. --- jaxrs-base-server/pom.xml | 55 ++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 30 deletions(-) diff --git a/jaxrs-base-server/pom.xml b/jaxrs-base-server/pom.xml index 5d7ab0a..ecd49cd 100644 --- a/jaxrs-base-server/pom.xml +++ b/jaxrs-base-server/pom.xml @@ -36,6 +36,16 @@ caffeine + + com.fasterxml.jackson.core + jackson-databind + + + + com.fasterxml.jackson.core + jackson-core + + org.glassfish.grizzly grizzly-framework @@ -86,6 +96,16 @@ grizzly-http + + org.glassfish.jersey.inject + jersey-hk2 + + + + org.glassfish.jersey.media + jersey-media-json-jackson + + io.telicent.public jwt-servlet-auth-core @@ -131,6 +151,11 @@ jwt-servlet-auth-jaxrs3 + + io.telicent.public + jwt-servlet-auth-aws + + io.telicent.smart-caches jwt-auth-common @@ -173,12 +198,6 @@ test - - com.fasterxml.jackson.core - jackson-databind - test - - io.jsonwebtoken jjwt-jackson @@ -186,12 +205,6 @@ test - - com.fasterxml.jackson.core - jackson-core - test - - io.telicent.public jwt-servlet-auth-core @@ -200,24 +213,6 @@ test - - io.telicent.public - jwt-servlet-auth-aws - test - - - - org.glassfish.jersey.inject - jersey-hk2 - test - - - - org.glassfish.jersey.media - jersey-media-json-jackson - test - -