changes for smartgears 4

This commit is contained in:
lucio 2024-05-15 17:00:46 +02:00
parent 64d98d9ec6
commit d61d51c815
2 changed files with 18 additions and 15 deletions

29
pom.xml
View File

@ -7,23 +7,23 @@
<version>2.0.0-SNAPSHOT</version>
<name>Authorization Control Library</name>
<description>Authorization Control Library</description>
<parent>
<artifactId>maven-parent</artifactId>
<groupId>org.gcube.tools</groupId>
<version>1.2.0</version>
</parent>
<scm>
<connection>scm:git:https://code-repo.d4science.org/gCubeSystem/authorization-control-library.git</connection>
<developerConnection>scm:git:https://code-repo.d4science.org/gCubeSystem/authorization-control-library.git</developerConnection>
<url>https://code-repo.d4science.org/gCubeSystem/authorization-control-library</url>
<connection>
scm:git:https://code-repo.d4science.org/gCubeSystem/authorization-control-library.git</connection>
<developerConnection>
scm:git:https://code-repo.d4science.org/gCubeSystem/authorization-control-library.git</developerConnection>
<url>
https://code-repo.d4science.org/gCubeSystem/authorization-control-library</url>
</scm>
<properties>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
@ -35,7 +35,6 @@
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.gcube.common</groupId>
@ -49,18 +48,23 @@
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<groupId>jakarta.xml.ws</groupId>
<artifactId>jakarta.xml.ws-api</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
@ -105,7 +109,6 @@
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>

View File

@ -1,7 +1,7 @@
package org.gcube.common.authorization.control.exception;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.Response.Status;
import jakarta.ws.rs.WebApplicationException;
import jakarta.ws.rs.core.Response.Status;
public class DefaultAuthorizationException extends WebApplicationException {
/**