diff --git a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index 2dd8791e70..fc2a050472 100644 --- a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -64,7 +64,8 @@ defaults. The parent project provides the following features: http://maven.apache.org/surefire/maven-surefire-plugin/[surefire], https://github.com/ktoso/maven-git-commit-id-plugin[Git commit ID], http://maven.apache.org/plugins/maven-shade-plugin/[shade]). -* Sensible resource filtering for `application.properties` and `application.yml` +* Sensible resource filtering for `application.properties` and `application.yml` including + profile-specific files (e.g. `application-foo.properties` and `application-foo.yml`) On the last point: since the default config files accept Spring style placeholders (`${...}`) the Maven filtering is changed to diff --git a/spring-boot-starters/spring-boot-starter-parent/pom.xml b/spring-boot-starters/spring-boot-starter-parent/pom.xml index a00c07d6e3..5a4d53cd95 100644 --- a/spring-boot-starters/spring-boot-starter-parent/pom.xml +++ b/spring-boot-starters/spring-boot-starter-parent/pom.xml @@ -46,15 +46,15 @@ ${basedir}/src/main/resources true - **/application.yml - **/application.properties + **/application*.yml + **/application*.properties ${basedir}/src/main/resources - **/application.yml - **/application.properties + **/application*.yml + **/application*.properties