From 36722510c5b7d0d2bbb062db4200c5af9b9498ef Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 29 Aug 2017 10:14:13 +0200 Subject: [PATCH] Clarify that only production resources are filtered by Maven See gh-10088 --- spring-boot-docs/src/main/asciidoc/howto.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 08b4246cd1..e3e3b64eb9 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -187,6 +187,9 @@ Maven '`project properties`' via `@..@` placeholders, e.g. app.java.version=@java.version@ ---- +NOTE: Only production configuration is filtered that way (i.e. no filtering is applied on +`src/test/resources`). + TIP: The `spring-boot:run` can add `src/main/resources` directly to the classpath (for hot reloading purposes) if you enable the `addResources` flag. This circumvents the resource filtering and this feature. You can use the `exec:java` goal instead