From 22a5ccfca7dc013c9c690ed477a1a806507407b6 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 9 Aug 2022 09:25:59 +0200 Subject: [PATCH] Add missing jaxb dependency for EhCache3 smoke test See gh-31137 --- .../spring-boot-smoke-test-cache/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle index 9fa1f3443f..26b561cb5c 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle @@ -37,6 +37,9 @@ dependencies { ehcache(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies"))) ehcache("javax.cache:cache-api") ehcache("org.ehcache:ehcache") + if (JavaVersion.current().java11Compatible) { + ehcache("org.glassfish.jaxb:jaxb-runtime") + } ehcache2(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies"))) ehcache2("net.sf.ehcache:ehcache")