updated guava version + added a JsonIgnore to a field

This commit is contained in:
Michele Artini 2024-12-09 15:03:51 +01:00
parent 605147e456
commit db7fa53ecd
2 changed files with 13 additions and 0 deletions

10
pom.xml
View File

@ -137,6 +137,12 @@
<artifactId>commons-pool2</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.2.0-jre</version>
</dependency>
<!-- XML -->
<dependency>
<groupId>org.dom4j</groupId>
@ -159,6 +165,10 @@
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>

View File

@ -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() {