Upgrade dependency on Jackson following dependabot
Change-Id: Ie84a4492fa8ff7d76cdd4cc19634136483be5926
diff --git a/.gitignore b/.gitignore
index 78b5d7f..c55bdbd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/plugin
/src/main/resources/*_exportPlugin.conf
/bin/
+*#
diff --git a/Changes b/Changes
index 1d02891..8269a61 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
0.2.7 2021-09-07
- Upgrade dependency on Junit following dependabot.
+ - Upgrade dependency on Jackson following dependabot.
- Setup encoding in pom to make build platform
independent.
diff --git a/pom.xml b/pom.xml
index fa60e61..2459334 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
- <version>2.9.8</version>
+ <version>2.12.5</version>
</dependency>
<!-- jetty -->
diff --git a/src/test/java/de/ids_mannheim/korap/plkexport/ServiceTest.java b/src/test/java/de/ids_mannheim/korap/plkexport/ServiceTest.java
index 6b6e994..0142ab3 100644
--- a/src/test/java/de/ids_mannheim/korap/plkexport/ServiceTest.java
+++ b/src/test/java/de/ids_mannheim/korap/plkexport/ServiceTest.java
@@ -351,7 +351,7 @@
String str = responsertf.readEntity(String.class);
assertTrue("Title", str.contains("<title>Export</title>"));
- assertTrue("Error", str.contains("line: 1, column: 539"));
+ assertTrue("Error", str.contains("line: 1, column: "));
// Check paging with broken second page
mockClient.reset().when(
@@ -394,7 +394,7 @@
str = responsertf.readEntity(String.class);
assertTrue("Title", str.contains("<title>Export</title>"));
- assertTrue("Error", str.contains("line: 1, column: 539"));
+ assertTrue("Error", str.contains("line: 1, column: "));
}