Skip to content

Commit 31014d8

Browse files
author
Phillip Webb
committed
Clarify resource filtering documentation
Fixes gh-1208
1 parent 6a0eb90 commit 31014d8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,9 @@ placeholders in `application.properties`, e.g.
175175
server.port=${port:8080}
176176
----
177177

178-
TIP: If you have enabled maven filtering for the `application.properties` you may want
179-
to avoid using `${*}` for the tokens to filter as it conflicts with those placeholders.
178+
TIP: If you are inheriting from the `spring-boot-starter-parent` POM, or if have enabled
179+
maven filtering for the `application.properties` directly, you may want to change the
180+
default filter token from `${*}` since it conflicts with those placeholders.
180181
You can either use `@*@` (i.e. `@maven.token@` instead of `${maven.token}`) or you can
181182
configure the `maven-resources-plugin` to use
182183
http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters[other delimiters].

0 commit comments

Comments
 (0)