From be383b488bf50af4fb58e567fa945229a84116af Mon Sep 17 00:00:00 2001 From: JosephKeenan Date: Wed, 23 Mar 2022 15:12:53 +0000 Subject: Update SpringBoot when approved version has Log4J 2.17.1 or higher -Updated cps-dependencies/pom.xml SpringBoot to v2.6.4 Issue-ID: CPS-958 Change-Id: Idac149e77eab1c273694672ee0282868e0e8589a Signed-off-by: JosephKeenan --- pom.xml | 21 +++++++++------------ src/main/resources/application.yml | 9 +++++++++ 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index b6e0f9a0..363a6e72 100644 --- a/pom.xml +++ b/pom.xml @@ -52,7 +52,7 @@ org.springframework.boot spring-boot-dependencies - 2.5.5 + 2.6.4 pom import @@ -63,21 +63,18 @@ pom import - - org.apache.logging.log4j - log4j-api - 2.17.1 - - - org.apache.logging.log4j - log4j-to-slf4j - 2.17.1 - com.google.code.gson gson 2.8.9 + + org.springframework.cloud + spring-cloud-dependencies + 2021.0.1 + pom + import + @@ -251,7 +248,7 @@ org.springframework.boot spring-boot-maven-plugin - 2.3.3.RELEASE + 2.6.4 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 67cd28ee..2d324c5b 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -34,6 +34,15 @@ security: username: ${DMI_USERNAME} password: ${DMI_PASSWORD} +# When updating to sprinboot 2.6.4 an exception would occur when starting the container +# "Failed to start bean 'documentationPluginsBootstrapper'. +# This is a known issue with springfox and springboot introduced in 2.6.x: +# https://github.com/springfox/springfox/issues/3462 +spring: + mvc: + pathmatch: + matching-strategy: ANT_PATH_MATCHER + # Actuator management: server: -- cgit 1.2.3-korg