diff --git a/pom.xml b/pom.xml index dda3fd9..20e08d8 100644 --- a/pom.xml +++ b/pom.xml @@ -137,6 +137,12 @@ commons-pool2 + + com.google.guava + guava + 33.2.0-jre + + org.dom4j @@ -159,6 +165,10 @@ io.swagger.core.v3 swagger-annotations + + com.google.guava + guava + diff --git a/src/main/java/eu/dnetlib/app/directindex/mapping/InstanceWithTypeCode.java b/src/main/java/eu/dnetlib/app/directindex/mapping/InstanceWithTypeCode.java index c6ccadb..c9ae1cb 100644 --- a/src/main/java/eu/dnetlib/app/directindex/mapping/InstanceWithTypeCode.java +++ b/src/main/java/eu/dnetlib/app/directindex/mapping/InstanceWithTypeCode.java @@ -1,5 +1,7 @@ package eu.dnetlib.app.directindex.mapping; +import com.fasterxml.jackson.annotation.JsonIgnore; + import eu.dnetlib.dhp.schema.solr.Instance; // TODO: To delete after the dismission of the XML @@ -7,6 +9,7 @@ public class InstanceWithTypeCode extends Instance { private static final long serialVersionUID = -5415824868827493090L; + @JsonIgnore private String instancetypeCode; public String getInstancetypeCode() {