From b10373c55587625fa66577c40e07d98f5dfa403b Mon Sep 17 00:00:00 2001 From: David Allen Date: Mon, 20 Jun 2022 09:37:34 +1000 Subject: [PATCH 1/3] Fix ambiguity in test code --- src/test/java/n10s/RDFExportTest.java | 2 ++ .../java/n10s/validation/SHACLValidationProceduresTest.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/test/java/n10s/RDFExportTest.java b/src/test/java/n10s/RDFExportTest.java index e46371b1..172032a9 100644 --- a/src/test/java/n10s/RDFExportTest.java +++ b/src/test/java/n10s/RDFExportTest.java @@ -30,6 +30,8 @@ import static n10s.graphconfig.Params.*; import static org.junit.Assert.*; +import org.neo4j.driver.Record; + public class RDFExportTest { @Rule diff --git a/src/test/java/n10s/validation/SHACLValidationProceduresTest.java b/src/test/java/n10s/validation/SHACLValidationProceduresTest.java index caae1072..88200324 100644 --- a/src/test/java/n10s/validation/SHACLValidationProceduresTest.java +++ b/src/test/java/n10s/validation/SHACLValidationProceduresTest.java @@ -24,6 +24,8 @@ import org.neo4j.driver.types.Node; import org.neo4j.harness.junit.rule.Neo4jRule; +import org.neo4j.driver.Record; + public class SHACLValidationProceduresTest { final String VAL_RESULTS_QUERY_ON_IGNORE_GRAPH = "MATCH (vr:ValidationResult)\n" + From 0b905fefe6d9ee19922516501549a0ba289d014d Mon Sep 17 00:00:00 2001 From: David Allen Date: Mon, 20 Jun 2022 09:39:30 +1000 Subject: [PATCH 2/3] Update jackson and override version from server --- pom.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a10cc5c1..1f496142 100644 --- a/pom.xml +++ b/pom.xml @@ -116,7 +116,20 @@ com.fasterxml.jackson.core jackson-databind - 2.9.10.4 + 2.12.4 + provided + + + + com.fasterxml.jackson.core + jackson-annotations + 2.12.4 + provided + + + com.fasterxml.jackson.core + jackson-core + 2.12.4 provided From 2fc8d91798662ee08e4b6894e7ea2c8e3354bfd9 Mon Sep 17 00:00:00 2001 From: David Allen Date: Mon, 20 Jun 2022 09:40:33 +1000 Subject: [PATCH 3/3] Add option to skip test running --- pom.xml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 1f496142..2928bd44 100644 --- a/pom.xml +++ b/pom.xml @@ -37,6 +37,7 @@ 4.4.4 3.7.5 UTF-8 + false @@ -131,7 +132,7 @@ jackson-core 2.12.4 provided - + org.neo4j.community @@ -214,8 +215,7 @@ maven-compiler-plugin 3.8.1 - 11 - 11 + 11 @@ -260,7 +260,14 @@ - + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + + ${skipTests} + +