From 1c70b6735a9f57b11393277a0442478445b6d2ac Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 8 Apr 2020 17:51:22 +0200 Subject: [PATCH] Remove plugin management for exec-maven-plugin Closes gh-20883 --- .../spring-boot-starter-parent/build.gradle | 7 ------- .../spring-boot-maven-plugin/src/docs/asciidoc/using.adoc | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle index 5584dc1df9..66748bcfd6 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle @@ -121,13 +121,6 @@ publishing.publications.withType(MavenPublication) { } } } - plugin { - delegate.groupId('org.codehaus.mojo') - delegate.artifactId('exec-maven-plugin') - configuration { - delegate.mainClass('${start-class}') - } - } plugin { delegate.groupId('org.apache.maven.plugins') delegate.artifactId('maven-resources-plugin') diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/using.adoc b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/using.adoc index 19b8b98c2e..084ac378ad 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/using.adoc +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/using.adoc @@ -9,7 +9,7 @@ The parent project provides the following features: This dependency management lets you omit `` tags for those dependencies when used in your own POM. * An execution of the <> with a `repackage` execution id. * Sensible https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html[resource filtering]. -* Sensible plugin configuration (https://www.mojohaus.org/exec-maven-plugin/[exec plugin], https://github.com/ktoso/maven-git-commit-id-plugin[Git commit ID], and https://maven.apache.org/plugins/maven-shade-plugin/[shade]). +* Sensible plugin configuration (https://github.com/ktoso/maven-git-commit-id-plugin[Git commit ID], and https://maven.apache.org/plugins/maven-shade-plugin/[shade]). * Sensible resource filtering for `application.properties` and `application.yml` including profile-specific files (for example, `application-dev.properties` and `application-dev.yml`) Note that, since the `application.properties` and `application.yml` files accept Spring style placeholders (`${...}`), the Maven filtering is changed to use `@..@` placeholders.