diff --git a/pom.xml b/pom.xml index 942cfbe..729a9ac 100644 --- a/pom.xml +++ b/pom.xml @@ -35,9 +35,6 @@ developer Europe/Rome - - https://gravatar.com/lucafrosini - lucio.lelii @@ -51,9 +48,6 @@ developer Europe/Rome - - https://gravatar.com/latinswing - alfredo.oliviero @@ -67,21 +61,18 @@ developer Europe/Rome - - https://gravatar.com/alfredooliviero - 11 - - UTF-8 ${java.version} ${java.version} - + + UTF-8 + - 1.14.0 + 2.16.1 @@ -163,19 +154,6 @@ - - - diff --git a/src/main/java/org/gcube/service/helloworld/rest/IDMExceptionMapper.java b/src/main/java/org/gcube/service/helloworld/rest/ServiceExceptionMapper.java similarity index 94% rename from src/main/java/org/gcube/service/helloworld/rest/IDMExceptionMapper.java rename to src/main/java/org/gcube/service/helloworld/rest/ServiceExceptionMapper.java index 121ebc0..b8da008 100644 --- a/src/main/java/org/gcube/service/helloworld/rest/IDMExceptionMapper.java +++ b/src/main/java/org/gcube/service/helloworld/rest/ServiceExceptionMapper.java @@ -14,7 +14,7 @@ import jakarta.ws.rs.ext.Provider; * @author Luca Frosini (ISTI - CNR) */ @Provider -public class IDMExceptionMapper implements ExceptionMapper { +public class ServiceExceptionMapper implements ExceptionMapper { @Override public Response toResponse(Exception exception) { @@ -48,7 +48,6 @@ public class IDMExceptionMapper implements ExceptionMapper { } responseBean.setSuccess(false); responseBean.setMessage(exceptionMessage); - // responseBean.set return Response.status(status).entity(responseBean).type(mediaType).build(); } diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 52684b8..70eff44 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -14,10 +14,6 @@ jersey.config.server.provider.packages org.gcube.service.helloworld.rest - - - - default