From eec7a8f0758e9db391477a4aa039b2b441786a99 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Sun, 3 Dec 2017 11:23:43 -0800 Subject: [PATCH] Remove Web depedency from Freemarker starter Now that Spring Boot supports Freemarker for both Spring MVC and Spring WebFlux, the dedicated starter should not pull the Web starter transitively and let developers manually choose the web stack. Closes gh-11246 --- .../spring-boot-starter-freemarker/pom.xml | 9 ++++----- .../spring-boot-sample-actuator-custom-security/pom.xml | 4 ++++ .../spring-boot-sample-actuator-ui/pom.xml | 4 ++++ spring-boot-samples/spring-boot-sample-jpa/pom.xml | 4 ++++ .../spring-boot-sample-web-freemarker/pom.xml | 4 ++++ 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-freemarker/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-freemarker/pom.xml index 2015c592f6b..12cc8f83585 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-freemarker/pom.xml +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-freemarker/pom.xml @@ -18,10 +18,6 @@ org.springframework.boot spring-boot-starter - - org.springframework.boot - spring-boot-starter-web - org.freemarker freemarker @@ -32,7 +28,10 @@ - + + org.springframework.boot + spring-boot-starter-freemarker + org.basepom.maven duplicate-finder-maven-plugin diff --git a/spring-boot-samples/spring-boot-sample-actuator-custom-security/pom.xml b/spring-boot-samples/spring-boot-sample-actuator-custom-security/pom.xml index 8b3a6fb10e4..907431e4f82 100644 --- a/spring-boot-samples/spring-boot-sample-actuator-custom-security/pom.xml +++ b/spring-boot-samples/spring-boot-sample-actuator-custom-security/pom.xml @@ -16,6 +16,10 @@ + + org.springframework.boot + spring-boot-starter-web + org.springframework.boot spring-boot-starter-actuator diff --git a/spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml b/spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml index 0bfabdf4d0c..ebe191f952c 100644 --- a/spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml +++ b/spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml @@ -20,6 +20,10 @@ org.springframework.boot spring-boot-starter-actuator + + org.springframework.boot + spring-boot-starter-web + org.springframework.boot spring-boot-starter-freemarker diff --git a/spring-boot-samples/spring-boot-sample-jpa/pom.xml b/spring-boot-samples/spring-boot-sample-jpa/pom.xml index a85d2aa6c7e..64cc9d8ca96 100644 --- a/spring-boot-samples/spring-boot-sample-jpa/pom.xml +++ b/spring-boot-samples/spring-boot-sample-jpa/pom.xml @@ -16,6 +16,10 @@ + + org.springframework.boot + spring-boot-starter-web + org.springframework.boot spring-boot-starter-freemarker diff --git a/spring-boot-samples/spring-boot-sample-web-freemarker/pom.xml b/spring-boot-samples/spring-boot-sample-web-freemarker/pom.xml index a5430a742cc..50b8815632d 100644 --- a/spring-boot-samples/spring-boot-sample-web-freemarker/pom.xml +++ b/spring-boot-samples/spring-boot-sample-web-freemarker/pom.xml @@ -17,6 +17,10 @@ + + org.springframework.boot + spring-boot-starter-web + org.springframework.boot spring-boot-starter-freemarker