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>
|
<artifactId>commons-pool2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.google.guava</groupId>
|
||||||
|
<artifactId>guava</artifactId>
|
||||||
|
<version>33.2.0-jre</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- XML -->
|
<!-- XML -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.dom4j</groupId>
|
<groupId>org.dom4j</groupId>
|
||||||
|
@ -159,6 +165,10 @@
|
||||||
<groupId>io.swagger.core.v3</groupId>
|
<groupId>io.swagger.core.v3</groupId>
|
||||||
<artifactId>swagger-annotations</artifactId>
|
<artifactId>swagger-annotations</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>com.google.guava</groupId>
|
||||||
|
<artifactId>guava</artifactId>
|
||||||
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package eu.dnetlib.app.directindex.mapping;
|
package eu.dnetlib.app.directindex.mapping;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||||
|
|
||||||
import eu.dnetlib.dhp.schema.solr.Instance;
|
import eu.dnetlib.dhp.schema.solr.Instance;
|
||||||
|
|
||||||
// TODO: To delete after the dismission of the XML
|
// TODO: To delete after the dismission of the XML
|
||||||
|
@ -7,6 +9,7 @@ public class InstanceWithTypeCode extends Instance {
|
||||||
|
|
||||||
private static final long serialVersionUID = -5415824868827493090L;
|
private static final long serialVersionUID = -5415824868827493090L;
|
||||||
|
|
||||||
|
@JsonIgnore
|
||||||
private String instancetypeCode;
|
private String instancetypeCode;
|
||||||
|
|
||||||
public String getInstancetypeCode() {
|
public String getInstancetypeCode() {
|
||||||
|
|
Loading…
Reference in New Issue