From db7fa53ecd956d6b8c9cd9354bd0ebcd73249695 Mon Sep 17 00:00:00 2001 From: "michele.artini" Date: Mon, 9 Dec 2024 15:03:51 +0100 Subject: [PATCH] updated guava version + added a JsonIgnore to a field --- pom.xml | 10 ++++++++++ .../app/directindex/mapping/InstanceWithTypeCode.java | 3 +++ 2 files changed, 13 insertions(+) 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() {