diff options
author | Nikhil Nanivadekar <nikhil.nanivadekar@gs.com> | 2016-12-02 22:42:00 -0700 |
---|---|---|
committer | Evgeny Mandrikov <Godin@users.noreply.github.com> | 2016-12-03 06:42:00 +0100 |
commit | f749802c381e3566bac86d9b3a975ecf47655267 (patch) | |
tree | ef52293b0cef678d48fca30690f57605e83da322 /jacoco-maven-plugin/src/org/jacoco/maven | |
parent | 0988e8c083f34f84312056dc7782488c6e147504 (diff) | |
download | jacoco-f749802c381e3566bac86d9b3a975ecf47655267.tar.gz |
Add hint about late property evaluation in maven-surefire-plugin (#465)
Diffstat (limited to 'jacoco-maven-plugin/src/org/jacoco/maven')
-rw-r--r-- | jacoco-maven-plugin/src/org/jacoco/maven/AgentMojo.java | 5 |
1 files changed, 5 insertions, 0 deletions
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; * </pre> * * <p> + * You can define empty property to avoid JVM startup error <code>Could not find or load main class @{argLine}</code> + * when using late property evaluation and jacoco-maven-plugin not executed. + * </p> + * + * <p> * Another way is to define "argLine" as a Maven property rather than * as part of the configuration of maven-surefire-plugin: * </p> |