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 2015c592f6..12cc8f8358 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 8b3a6fb10e..907431e4f8 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 0bfabdf4d0..ebe191f952 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 a85d2aa6c7..64cc9d8ca9 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 a5430a742c..50b8815632 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