Migrating to gcube-jackson

This commit is contained in:
Luca Frosini 2020-06-25 14:56:21 +02:00
parent d86ef41bf2
commit 34d160f8c9
2 changed files with 4 additions and 6 deletions

View File

@ -10,7 +10,7 @@
<groupId>org.gcube.information-system</groupId>
<artifactId>resource-registry-api</artifactId>
<version>3.0.0</version>
<version>4.0.0-SNAPSHOT</version>
<name>Resource Registry API</name>
<description>Resource Registry API is a library containing classes shared across resource-registry-* components</description>
@ -30,14 +30,14 @@
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>gcube-bom</artifactId>
<version>1.5.0</version>
<version>1.6.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.gcube.information-system</groupId>
<artifactId>information-system-bom</artifactId>
<version>1.5.0</version>
<version>2.0.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>

View File

@ -3,14 +3,12 @@
*/
package org.gcube.informationsystem.resourceregistry.api.exceptions;
import org.gcube.informationsystem.base.reference.Element;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = Element.CLASS_PROPERTY)
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME)
public class ResourceRegistryException extends Exception {
/**