Migrating to gcube-jackson
This commit is contained in:
parent
d86ef41bf2
commit
34d160f8c9
6
pom.xml
6
pom.xml
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<groupId>org.gcube.information-system</groupId>
|
<groupId>org.gcube.information-system</groupId>
|
||||||
<artifactId>resource-registry-api</artifactId>
|
<artifactId>resource-registry-api</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>4.0.0-SNAPSHOT</version>
|
||||||
<name>Resource Registry API</name>
|
<name>Resource Registry API</name>
|
||||||
<description>Resource Registry API is a library containing classes shared across resource-registry-* components</description>
|
<description>Resource Registry API is a library containing classes shared across resource-registry-* components</description>
|
||||||
|
|
||||||
|
@ -30,14 +30,14 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.distribution</groupId>
|
<groupId>org.gcube.distribution</groupId>
|
||||||
<artifactId>gcube-bom</artifactId>
|
<artifactId>gcube-bom</artifactId>
|
||||||
<version>1.5.0</version>
|
<version>1.6.0-SNAPSHOT</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.information-system</groupId>
|
<groupId>org.gcube.information-system</groupId>
|
||||||
<artifactId>information-system-bom</artifactId>
|
<artifactId>information-system-bom</artifactId>
|
||||||
<version>1.5.0</version>
|
<version>2.0.0-SNAPSHOT</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -3,14 +3,12 @@
|
||||||
*/
|
*/
|
||||||
package org.gcube.informationsystem.resourceregistry.api.exceptions;
|
package org.gcube.informationsystem.resourceregistry.api.exceptions;
|
||||||
|
|
||||||
import org.gcube.informationsystem.base.reference.Element;
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR)
|
* @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 {
|
public class ResourceRegistryException extends Exception {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue