From 16aa8fbc888c1988a3c421d89eff2c30486f424b Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 28 Jul 2020 16:26:11 +0200 Subject: [PATCH] Fix actuator dependency on Jackson JSR 310 module This commit harmonizes dependency declarations for Jackson in the actuator. Both Jackson and JSR 310 are back to optional in the core actuator module and mandatory when using the auto-configuration. Closes gh-22624 --- .../spring-boot-actuator-autoconfigure/pom.xml | 4 ++++ spring-boot-project/spring-boot-actuator/pom.xml | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml b/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml index 35964f09d2e..2133973b541 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml @@ -35,6 +35,10 @@ com.fasterxml.jackson.core jackson-databind + + com.fasterxml.jackson.datatype + jackson-datatype-jsr310 + org.springframework spring-core diff --git a/spring-boot-project/spring-boot-actuator/pom.xml b/spring-boot-project/spring-boot-actuator/pom.xml index f4c501f20e9..3ab915617d0 100644 --- a/spring-boot-project/spring-boot-actuator/pom.xml +++ b/spring-boot-project/spring-boot-actuator/pom.xml @@ -26,16 +26,17 @@ org.springframework.boot spring-boot - - com.fasterxml.jackson.datatype - jackson-datatype-jsr310 - com.fasterxml.jackson.core jackson-databind true + + com.fasterxml.jackson.datatype + jackson-datatype-jsr310 + true + com.github.ben-manes.caffeine caffeine