- Add an empty constructor in "StandardResult.java".
- Update dependencies.
This commit is contained in:
parent
43de723494
commit
d9b94b25e2
14
pom.xml
14
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>uoa-validator-engine2</artifactId>
|
||||
<version>0.9.3</version>
|
||||
<version>0.9.4-SNAPSHOT</version>
|
||||
<!-- <packaging>war</packaging>-->
|
||||
<!-- <properties>-->
|
||||
<!-- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
|
||||
|
@ -20,7 +20,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.11.0</version>
|
||||
<version>3.12.1</version>
|
||||
<configuration>
|
||||
<!-- or whatever version you use -->
|
||||
<source>1.8</source>
|
||||
|
@ -70,7 +70,7 @@
|
|||
<!--<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.2.2</version>
|
||||
<version>3.2.5</version>
|
||||
<configuration>
|
||||
</configuration>
|
||||
</plugin>-->
|
||||
|
@ -83,13 +83,13 @@
|
|||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>2.15.0</version>
|
||||
<version>2.15.1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>32.1.3-jre</version>
|
||||
<version>33.0.0-jre</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
|
@ -100,7 +100,7 @@
|
|||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-core</artifactId>
|
||||
<version>1.2.12</version>
|
||||
<version>1.2.13</version>
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
|
||||
|
@ -114,7 +114,7 @@
|
|||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>1.2.12</version>
|
||||
<version>1.2.13</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
|
|
@ -7,8 +7,8 @@ import java.util.Map;
|
|||
|
||||
public class StandardValidationResult implements XMLApplicationProfile.ValidationResult {
|
||||
|
||||
private String id;
|
||||
private double score;
|
||||
private String id;
|
||||
private double score;
|
||||
private Map<String, Guideline.Result> results;
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,9 @@ public final class StandardResult implements Guideline.Result, Serializable {
|
|||
private Status status;
|
||||
private int score;
|
||||
|
||||
public StandardResult() {
|
||||
}
|
||||
|
||||
public StandardResult(int score, Status status, List<String> warnings, List<String> errors, String internalError) {
|
||||
this.status = status;
|
||||
this.score = score;
|
||||
|
|
Loading…
Reference in New Issue