Fix build failure

This commit reworks a7e1ec8 to fix the build failure and update the
documentation regarding default maven filtering option with
spring-boot-starter-parent

Fixes gh-1199
This commit is contained in:
Stephane Nicoll
2014-11-03 14:01:51 +01:00
parent 6a18ece6a2
commit fb0d9d2a2e
2 changed files with 20 additions and 19 deletions

View File

@@ -175,11 +175,11 @@ placeholders in `application.properties`, e.g.
server.port=${port:8080}
----
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
TIP: If you are inheriting from the `spring-boot-starter-parent` POM, the default filter
token of the `maven-resources-plugins` has been changed from `+${*}+` to `@` (i.e.
`@maven.token@` instead of `${maven.token}`) as the former conflicts with those
placeholders. If you have enabled the maven filtering for the `application.properties`
directly, you may want to change the default filter token to use
http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters[other delimiters].
NOTE: In this specific case the port binding will work in a PaaS environment like Heroku