From 045f3571472e2892f25e3addeb162cbba1ab84cd Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 15 Sep 2016 15:33:58 +0100 Subject: [PATCH] Upgrade Elasticsearch to 2.4 and restore use of Jackson 2.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In 1.4.0 we used Elasticsearch 2.3.5 and Jackson 2.8. This combination was incompatible in some circumstances due to a change in Jackson (gh-6508). With Elasticsearch 2.4 yet to be released at the time, the only way to restore compatibility was to downgrade Jackson. With the release of Elasticsearch 2.4 we have another option: revert the Jackson downgrade and upgrade Elasticsearch instead. While we normally wouldn't consider upgrading to a new minor version of a dependency in a maintenance release we have to do something to restore compatibility. The alternative is to downgrade Jackson but that will affect more people (Jackson is more widely used than Elasticsearch) and will lose some functionality that was new in Jackson 2.8 that people may already be relying upon. This commit restores the use of Jackson 2.8 – including the 2.8-specific dependency management – and upgrades to Elasticsearch 2.4 Closes gh-6868 --- spring-boot-dependencies/pom.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index 1c147e29e06..4de7ace7d9c 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -73,7 +73,7 @@ 1.50.5 3.2.1 2.3.25-incubating - 2.3.5 + 2.4.0 8.2.0 3.0.0 1.12 @@ -93,7 +93,7 @@ 4.5.2 4.4.5 8.2.2.Final - 2.7.6 + 2.8.2 2.7.8 3.20.0-GA 1.0.0 @@ -665,6 +665,11 @@ jackson-datatype-hibernate5 ${jackson.version} + + com.fasterxml.jackson.datatype + jackson-datatype-jaxrs + ${jackson.version} + com.fasterxml.jackson.datatype jackson-datatype-jdk8