From dacad22fd30084c1185fd55bc2893e2d4bd15110 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 15 May 2014 09:59:46 +0200 Subject: [PATCH] Fix jvmArgs usage example The configuration within an execution is only applied when that particular execution is invoked as part of the build. It is not applied when the plugin is invoked on the command line (i.e. mvn spring-boot:run). This commit clarifies the situation so that users can safely copy/paste those bits and get the expected behavior. Fixes gh-875 --- .../src/site/apt/examples/run-debug.apt.vm | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/site/apt/examples/run-debug.apt.vm b/spring-boot-tools/spring-boot-maven-plugin/src/site/apt/examples/run-debug.apt.vm index eef58d476c9..6ff9cdb4ced 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/site/apt/examples/run-debug.apt.vm +++ b/spring-boot-tools/spring-boot-maven-plugin/src/site/apt/examples/run-debug.apt.vm @@ -21,18 +21,11 @@ ${project.groupId} ${project.artifactId} ${project.version} - - - - run - - - - -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 - - - - + + + -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 + + ... ...