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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new 81b2c869c Fixed: Update Jersey to 2.40
81b2c869c is described below

commit 81b2c869c636be3ae85b87ac6715b9d9def09c9a
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Thu Sep 28 11:23:04 2023 +0200

    Fixed: Update Jersey to 2.40
    
    Plugin REST API was no longer working because of the old version being
    incompatible with Java 17.
    
    jleroux: Actually 2.37 (in trunk) was compatible, but better upgrade anyway
    
    Thanks: originalnichtskoenner
---
 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 6bf619eb8..fd8444fd9 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.37' // Compilation 
issues with 3.0.2: package javax.ws.rs does not exist
-    pluginLibsCompile 'org.glassfish.jersey.media:jersey-media-multipart:2.37'
-    pluginLibsCompile 
'org.glassfish.jersey.media:jersey-media-json-jackson:2.37'
-    pluginLibsCompile 'org.glassfish.jersey.inject:jersey-hk2:2.37'
+    pluginLibsCompile 
'org.glassfish.jersey.containers:jersey-container-servlet:2.40' // Compilation 
issues with 3.0.2: 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.2.6'
     pluginLibsCompile 
'io.swagger.core.v3:swagger-jaxrs2-servlet-initializer:2.2.6'
     pluginLibsCompile 'io.swagger.core.v3:swagger-annotations:2.2.6'

Reply via email to