From f749802c381e3566bac86d9b3a975ecf47655267 Mon Sep 17 00:00:00 2001 From: Nikhil Nanivadekar Date: Fri, 2 Dec 2016 22:42:00 -0700 Subject: Add hint about late property evaluation in maven-surefire-plugin (#465) --- jacoco-maven-plugin/src/org/jacoco/maven/AgentMojo.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'jacoco-maven-plugin/src/org/jacoco/maven') diff --git a/jacoco-maven-plugin/src/org/jacoco/maven/AgentMojo.java b/jacoco-maven-plugin/src/org/jacoco/maven/AgentMojo.java index 62a92f16..82f59c79 100644 --- a/jacoco-maven-plugin/src/org/jacoco/maven/AgentMojo.java +++ b/jacoco-maven-plugin/src/org/jacoco/maven/AgentMojo.java @@ -51,6 +51,11 @@ import org.apache.maven.plugins.annotations.ResolutionScope; * * *

+ * You can define empty property to avoid JVM startup error Could not find or load main class @{argLine} + * when using late property evaluation and jacoco-maven-plugin not executed. + *

+ * + *

* Another way is to define "argLine" as a Maven property rather than * as part of the configuration of maven-surefire-plugin: *

-- cgit v1.2.3