Merge pull request #2524 from StevenGeens/master

* pull2524:
  Update documentation on resources filtering
This commit is contained in:
Stephane Nicoll 2015-02-20 13:30:17 +01:00
commit 91bf484527
1 changed files with 7 additions and 0 deletions

View File

@ -297,6 +297,13 @@ Maven '`project properties`' via `@..@` placeholders, e.g.
NOTE: In the above example we used `+project.*+` to set some values to be used as NOTE: In the above example we used `+project.*+` to set some values to be used as
fallbacks if the Maven resource filtering has not been switched on for some reason. fallbacks if the Maven resource filtering has not been switched on for some reason.
TIP: The `spring-boot:run` maven goal adds `src/main/resources` directly to
the classpath (for hot reloading purposes). This circumvents the resource
filtering and this feature. You can use the `exec:java` goal instead or
customize the plugin's configuration, see the
{spring-boot-maven-plugin-site}/usage.html[plugin usage page] for more details.
NOTE: If you don't use the starter parent, in your `pom.xml` you need (inside the `<build/>` element): NOTE: If you don't use the starter parent, in your `pom.xml` you need (inside the `<build/>` element):
[source,xml,indent=0] [source,xml,indent=0]