From 2d16c5914705bb442f73ed9830ba744d9ea424d7 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Thu, 17 Apr 2014 04:42:31 -0700 Subject: [PATCH] Clarify usage of run.arguments with Maven plugin --- spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc | 2 +- .../src/main/java/org/springframework/boot/maven/RunMojo.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc b/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc index b797e5ce11f..3ad3fc59abe 100644 --- a/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc +++ b/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc @@ -273,7 +273,7 @@ The following configuration options are available for the `spring-boot:run` goal |Name |Description |`arguments` or `-Drun.arguments` -|Arguments that should be passed to the application. +|Arguments that should be passed to the application (comma-separated). |`addResources` or `-Drun.addResources` |Add Maven resources to the classpath directly, this allows live in-place editing or diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunMojo.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunMojo.java index 665b86fe598..23b60d7416e 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunMojo.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunMojo.java @@ -78,7 +78,8 @@ public class RunMojo extends AbstractMojo { private Boolean noverify; /** - * Arguments that should be passed to the application. + * Arguments that should be passed to the application. On command line use commas to + * separate multiple arguments. */ @Parameter(property = "run.arguments") private String[] arguments;