From bc7c6aa40cdbf22379411d900b5b2d0795ef15d7 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 11 Apr 2014 06:53:04 +0100 Subject: [PATCH] Print MAVEN_OPTS=-noverify for copy-pasters --- .../src/main/java/org/springframework/boot/maven/RunMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f44a61393b..e88193db9c 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 @@ -110,7 +110,7 @@ public class RunMojo extends AbstractMojo { getLog().info("Attaching agent: " + this.agent); if (this.noverify != null && this.noverify && !AgentAttacher.hasNoVerify()) { throw new MojoExecutionException( - "The JVM must be started with -noverify for this agent to work. You can use MAVEN_OPTS to add that flag."); + "The JVM must be started with -noverify for this agent to work. You can use MAVEN_OPTS=-noverify to add that flag."); } AgentAttacher.attach(this.agent); }