Commit 31014d86 authored by Phillip Webb's avatar Phillip Webb

Clarify resource filtering documentation

Fixes gh-1208
parent 6a0eb900
...@@ -175,8 +175,9 @@ placeholders in `application.properties`, e.g. ...@@ -175,8 +175,9 @@ placeholders in `application.properties`, e.g.
server.port=${port:8080} server.port=${port:8080}
---- ----
TIP: If you have enabled maven filtering for the `application.properties` you may want TIP: If you are inheriting from the `spring-boot-starter-parent` POM, or if have enabled
to avoid using `${*}` for the tokens to filter as it conflicts with those placeholders. maven filtering for the `application.properties` directly, you may want to change the
default filter token from `${*}` since it conflicts with those placeholders.
You can either use `@*@` (i.e. `@maven.token@` instead of `${maven.token}`) or you can You can either use `@*@` (i.e. `@maven.token@` instead of `${maven.token}`) or you can
configure the `maven-resources-plugin` to use configure the `maven-resources-plugin` to use
http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters[other delimiters]. http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters[other delimiters].
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment