From 7ebe4935ac4b2b6d55e272c94864e61f437b8af0 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 29 Nov 2017 09:30:53 -0800 Subject: [PATCH] Restore dependency in `maven-shade-plugin` Restore `spring-boot-maven-plugin` dependency in `maven-shade-plugin` starter configuration. Required so that the shade plugin can use `PropertiesMergingResourceTransformer` if wanted. Fixes gh-11200 --- .../spring-boot-starter-parent/pom.xml | 10 +++++++++- .../src/main/xslt/post-process-flattened-pom.xsl | 6 +++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/pom.xml index ef12027de5f..f7899be806a 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/pom.xml +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/pom.xml @@ -179,6 +179,13 @@ + + + org.springframework.boot + spring-boot-maven-plugin + ${revision} + + package @@ -210,7 +217,8 @@ - + org.eclipse.m2e lifecycle-mapping diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/src/main/xslt/post-process-flattened-pom.xsl b/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/src/main/xslt/post-process-flattened-pom.xsl index 6a5e8a78dac..a317b812da9 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/src/main/xslt/post-process-flattened-pom.xsl +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/src/main/xslt/post-process-flattened-pom.xsl @@ -10,8 +10,12 @@ + + + - \ No newline at end of file +