diff --git a/jacoco-maven-plugin/src/org/jacoco/maven/InstrumentMojo.java b/jacoco-maven-plugin/src/org/jacoco/maven/InstrumentMojo.java index e973c6546..0eb8c3620 100644 --- a/jacoco-maven-plugin/src/org/jacoco/maven/InstrumentMojo.java +++ b/jacoco-maven-plugin/src/org/jacoco/maven/InstrumentMojo.java @@ -55,7 +55,10 @@ public class InstrumentMojo extends AbstractJacocoMojo { /** * A list of class files to exclude from instrumentation. May use wildcard - * characters (* and ?). When not specified nothing will be excluded. + * characters (* and ?). When not specified nothing will be excluded. Except + * for performance optimization or technical corner cases this option is + * normally not required. If you want to exclude classes from the report + * please configure the report goal accordingly. */ @Parameter private List excludes; diff --git a/org.jacoco.doc/docroot/doc/faq.html b/org.jacoco.doc/docroot/doc/faq.html index b13e66998..bd7f9af3c 100644 --- a/org.jacoco.doc/docroot/doc/faq.html +++ b/org.jacoco.doc/docroot/doc/faq.html @@ -197,7 +197,7 @@

Why do I see classes in the coverage report although I excluded them in the in the report are explicitly provided. Coverage is determined from the provided execution data. If execution data is missing for a particular class, this class is shown as not covered because the report generator cannot - distinguish whether the class was excluded or not executed. + distinguish whether the class was excluded from instrumentation or not executed.