title: JaCoCo - exclude JSP from report
body: <p>In the Maven site reports generated by JaCoCo, I get quite bad coverage because all of my compiled JSPs are included (and they are long). I tried the following in <code>reporting</code>:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.jacoco&lt;/groupId&gt;
      &lt;artifactId&gt;jacoco-maven-plugin&lt;/artifactId&gt;
      &lt;configuration&gt;
          &lt;exclude&gt;target/classes/jsp/**/*.class&lt;/exclude&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>Another similar-looking configuration is in the <code>build</code> section of the POM for the <code>prepare-package</code> phase. That doesn’t stop the JSP classes from being included in the report. How to avoid that?</p>