Print MAVEN_OPTS=-noverify for copy-pasters

pull/664/head
Dave Syer 11 years ago
parent a122f3e0f2
commit bc7c6aa40c

@ -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);
}

Loading…
Cancel
Save