mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Remove plugin management for exec-maven-plugin
Closes gh-20883
This commit is contained in:
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…
Reference in New Issue
Block a user