This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/release22.01 by this push:
     new 9465aabbd Fixed: Update Jersey to 2.40 (#88)
9465aabbd is described below

commit 9465aabbdcc829d310e49f1c51c74fc05f52d1df
Author: originalnichtskoenner 
<143175561+originalnichtskoen...@users.noreply.github.com>
AuthorDate: Thu Sep 28 11:11:47 2023 +0200

    Fixed: Update Jersey to 2.40 (#88)
    
    Plugin REST API was no longer working because of the old version being 
incompatible with Java 17.
---
 rest-api/build.gradle | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/rest-api/build.gradle b/rest-api/build.gradle
index 82d91b6b6..ac9699571 100644
--- a/rest-api/build.gradle
+++ b/rest-api/build.gradle
@@ -23,10 +23,10 @@ project.rootProject.configurations.all {
 }
 
 dependencies {
-    pluginLibsCompile 
'org.glassfish.jersey.containers:jersey-container-servlet:2.31' // Compilation 
issues with 3.0.2: package javax.ws.rs does not exist
-    pluginLibsCompile 'org.glassfish.jersey.media:jersey-media-multipart:2.31'
-    pluginLibsCompile 
'org.glassfish.jersey.media:jersey-media-json-jackson:2.31'
-    pluginLibsCompile 'org.glassfish.jersey.inject:jersey-hk2:2.31'
+    pluginLibsCompile 
'org.glassfish.jersey.containers:jersey-container-servlet:2.40' // Compilation 
issues with 3.0.2 (up to 3.1.3): package javax.ws.rs does not exist
+    pluginLibsCompile 'org.glassfish.jersey.media:jersey-media-multipart:2.40'
+    pluginLibsCompile 
'org.glassfish.jersey.media:jersey-media-json-jackson:2.40'
+    pluginLibsCompile 'org.glassfish.jersey.inject:jersey-hk2:2.40'
     pluginLibsCompile 'io.swagger.core.v3:swagger-jaxrs2:2.1.10'
     pluginLibsCompile 
'io.swagger.core.v3:swagger-jaxrs2-servlet-initializer:2.1.10'
     pluginLibsCompile 'io.swagger.core.v3:swagger-annotations:2.1.10'

Reply via email to