updated guava version + added a JsonIgnore to a field
This commit is contained in:
parent
605147e456
commit
db7fa53ecd
10
pom.xml
10
pom.xml
|
@ -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>
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue