Skip to content

Commit

Permalink
GH-2192 upgrade jsonld-java and jackson + fix for test
Browse files Browse the repository at this point in the history
Signed-off-by:Bart Hanssens <[email protected]>
  • Loading branch information
barthanssens committed Jul 5, 2020
1 parent e64a739 commit eccab2a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions compliance/elasticsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.25</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public void testIncludeSourceLocationDefault() throws Exception {
assertTrue(e.getCause() instanceof JsonProcessingException);
JsonProcessingException cause = (JsonProcessingException) e.getCause();
assertEquals(2, cause.getLocation().getLineNr());
assertEquals(1, cause.getLocation().getColumnNr());
assertEquals(3, cause.getLocation().getColumnNr());
assertNotNull(cause.getLocation().getSourceRef());
assertEquals(source, cause.getLocation().getSourceRef());
}
Expand All @@ -377,7 +377,7 @@ public void testIncludeSourceLocationEnabled() throws Exception {
assertTrue(e.getCause() instanceof JsonProcessingException);
JsonProcessingException cause = (JsonProcessingException) e.getCause();
assertEquals(2, cause.getLocation().getLineNr());
assertEquals(1, cause.getLocation().getColumnNr());
assertEquals(3, cause.getLocation().getColumnNr());
assertNotNull(cause.getLocation().getSourceRef());
assertEquals(source, cause.getLocation().getSourceRef());
}
Expand All @@ -394,7 +394,7 @@ public void testIncludeSourceLocationDisabled() throws Exception {
assertTrue(e.getCause() instanceof JsonProcessingException);
JsonProcessingException cause = (JsonProcessingException) e.getCause();
assertEquals(2, cause.getLocation().getLineNr());
assertEquals(1, cause.getLocation().getColumnNr());
assertEquals(3, cause.getLocation().getColumnNr());
assertNull(cause.getLocation().getSourceRef());
}
}
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@
<logback.version>1.1.11</logback.version>
<httpclient.version>4.5.10</httpclient.version>
<httpcore.version>4.4.12</httpcore.version>
<jackson.version>2.9.9</jackson.version>
<jsonldjava.version>0.12.5</jsonldjava.version>
<jackson.version>2.10.4</jackson.version>
<jsonldjava.version>0.13.0</jsonldjava.version>
<last.japicmp.compare.version>3.1.4</last.japicmp.compare.version>
<jaxb.version>2.3.1</jaxb.version>
<lucene.version>7.7.2</lucene.version>
Expand Down

0 comments on commit eccab2a

Please sign in to comment.