mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Clarify resource filtering documentation
Fixes gh-1208
This commit is contained in:
parent
6a0eb90007
commit
31014d86a4
@ -175,8 +175,9 @@ placeholders in `application.properties`, e.g.
|
||||
server.port=${port:8080}
|
||||
----
|
||||
|
||||
TIP: If you have enabled maven filtering for the `application.properties` you may want
|
||||
to avoid using `${*}` for the tokens to filter as it conflicts with those placeholders.
|
||||
TIP: If you are inheriting from the `spring-boot-starter-parent` POM, or if have enabled
|
||||
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
|
||||
configure the `maven-resources-plugin` to use
|
||||
http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters[other delimiters].
|
||||
|
Loading…
Reference in New Issue
Block a user