diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc index c9bcf6ca80..4428adc98a 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc @@ -16,9 +16,9 @@ build system. If you are just getting started, you might want to read [[build-tool-plugins-maven-plugin]] == Spring Boot Maven Plugin -The {spring-boot-maven-plugin-site}[Spring Boot Maven Plugin] provides Spring Boot -support in Maven, letting you package executable jar or war archives and run an -application "`in-place`". To use it, you must use Maven 3.2 (or later). +The Spring Boot Maven Plugin provides Spring Boot support in Maven, letting you package +executable jar or war archives and run an application "`in-place`". To use it, you must +use Maven 3.2 (or later). NOTE: See the {spring-boot-maven-plugin-site}[Spring Boot Maven Plugin Site] for complete plugin documentation. diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/site/apt/usage.apt.vm b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/site/apt/usage.apt.vm index a7702fc32b..fb70a97697 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/site/apt/usage.apt.vm +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/site/apt/usage.apt.vm @@ -130,20 +130,22 @@ Usage mvn spring-boot:run --- - By default the application is executed in a forked process. Although this is not - recommended, it is possible to execute the application directly from the Maven JVM by - disabling the <<>> property. Doing so means that <<>>, - <<>>, <<>> and <<>> options are - ignored. - - If you need to specify some JVM arguments (i.e. for debugging purposes), you can use - the <<>> parameter, see {{{./examples/run-debug.html}Debug the application}} - for more details. There is also explicit support for - {{{./examples/run-system-properties.html}system properties}} and + By default the application is executed in a forked process and setting properties on the + command-line will not affect the application. If you need to specify some JVM arguments + (i.e. for debugging purposes), you can use the <<>> parameter, see + {{{./examples/run-debug.html}Debug the application}} for more details. There is also + explicit support for {{{./examples/run-system-properties.html}system properties}} and {{{./examples/run-env-variables.html}environment variables}}. - As a convenience, the profiles to enable are handled by a specific property ( - <<>>), see {{{./examples/run-profiles.html}Specify active profiles}}. + As enabling a profile is quite common, there is dedicated <<>> property that + offers a shortcut for + <<<-Dspring-boot.run.jvmArguments="-Dspring.profiles.active=dev">>>, + see {{{./examples/run-profiles.html}Specify active profiles}}. + + Although this is not recommended, it is possible to execute the application directly + from the Maven JVM by disabling the <<>> property. Doing so means that the + <<>>, <<>>, <<>> and + <<>> options are ignored. Spring Boot 1.3 has introduced <<>>, a module to improve the development-time experience when working on Spring Boot applications. To enable it, just add the following