Remove plugin management for exec-maven-plugin

Closes gh-20883
pull/20907/head
Stephane Nicoll 5 years ago
parent edc154c497
commit 1c70b6735a

@ -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 { plugin {
delegate.groupId('org.apache.maven.plugins') delegate.groupId('org.apache.maven.plugins')
delegate.artifactId('maven-resources-plugin') delegate.artifactId('maven-resources-plugin')

@ -9,7 +9,7 @@ The parent project provides the following features:
This dependency management lets you omit `<version>` tags for those dependencies when used in your own POM. This dependency management lets you omit `<version>` tags for those dependencies when used in your own POM.
* An execution of the <<goals.adoc#goals-repackage, `repackage` goal>> with a `repackage` execution id. * An execution of the <<goals.adoc#goals-repackage, `repackage` goal>> with a `repackage` execution id.
* Sensible https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html[resource filtering]. * 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`) * 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. Note that, since the `application.properties` and `application.yml` files accept Spring style placeholders (`${...}`), the Maven filtering is changed to use `@..@` placeholders.

Loading…
Cancel
Save