File tree 2 files changed +6
-5
lines changed
spring-boot-docs/src/main/asciidoc
spring-boot-starters/spring-boot-starter-parent
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ defaults. The parent project provides the following features:
64
64
http://maven.apache.org/surefire/maven-surefire-plugin/[surefire],
65
65
https://github.com/ktoso/maven-git-commit-id-plugin[Git commit ID],
66
66
http://maven.apache.org/plugins/maven-shade-plugin/[shade]).
67
- * Sensible resource filtering for `application.properties` and `application.yml`
67
+ * Sensible resource filtering for `application.properties` and `application.yml` including
68
+ profile-specific files (e.g. `application-foo.properties` and `application-foo.yml`)
68
69
69
70
On the last point: since the default config files accept
70
71
Spring style placeholders (`${...}`) the Maven filtering is changed to
Original file line number Diff line number Diff line change 46
46
<directory >${basedir} /src/main/resources</directory >
47
47
<filtering >true</filtering >
48
48
<includes >
49
- <include >**/application.yml</include >
50
- <include >**/application.properties</include >
49
+ <include >**/application* .yml</include >
50
+ <include >**/application* .properties</include >
51
51
</includes >
52
52
</resource >
53
53
<resource >
54
54
<directory >${basedir} /src/main/resources</directory >
55
55
<excludes >
56
- <exclude >**/application.yml</exclude >
57
- <exclude >**/application.properties</exclude >
56
+ <exclude >**/application* .yml</exclude >
57
+ <exclude >**/application* .properties</exclude >
58
58
</excludes >
59
59
</resource >
60
60
</resources >
You can’t perform that action at this time.
0 commit comments