Skip to content

Commit 2566dcd

Browse files
committed
Bump jackson.version from 2.9.8 to 2.9.9
Because of FasterXML/jackson-dataformat-xml#340, we need to explicitly declare `stax2-api:4.1` dependency. Also another non related side effect is that we need to exclude `jackson-module-jaxb-annotations` from `jersey-media-json-jackson`. Related to #734.
1 parent 161c1ee commit 2566dcd

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

pom.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<elasticsearch5.version>5.6.15</elasticsearch5.version>
4343

4444
<tika.version>1.20</tika.version>
45-
<jackson.version>2.9.8</jackson.version>
45+
<jackson.version>2.9.9</jackson.version>
4646
<log4j.version>2.11.2</log4j.version>
4747
<jansi.version>1.18</jansi.version>
4848
<jersey.version>2.28</jersey.version>
@@ -542,6 +542,14 @@
542542
<artifactId>snakeyaml</artifactId>
543543
<version>${snakeyaml.version}</version>
544544
</dependency>
545+
<!--
546+
Will need to be removed in the future. Workaround for https://github.com/FasterXML/jackson-dataformat-xml/issues/340
547+
-->
548+
<dependency>
549+
<groupId>org.codehaus.woodstox</groupId>
550+
<artifactId>stax2-api</artifactId>
551+
<version>4.1</version>
552+
</dependency>
545553

546554
<dependency>
547555
<groupId>org.apache.tika</groupId>
@@ -680,6 +688,12 @@
680688
<groupId>org.glassfish.jersey.media</groupId>
681689
<artifactId>jersey-media-json-jackson</artifactId>
682690
<version>${jersey.version}</version>
691+
<exclusions>
692+
<exclusion>
693+
<groupId>com.fasterxml.jackson.module</groupId>
694+
<artifactId>jackson-module-jaxb-annotations</artifactId>
695+
</exclusion>
696+
</exclusions>
683697
</dependency>
684698
<dependency>
685699
<groupId>org.glassfish.jersey.media</groupId>

0 commit comments

Comments
 (0)