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 3, 2020
1 parent e64a739 commit 0eae80c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
12 changes: 12 additions & 0 deletions compliance/elasticsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,18 @@
<groupId>com.vividsolutions</groupId>
<artifactId>jts</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind-yaml</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
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 0eae80c

Please sign in to comment.