• Home
  • Raw
  • Download

Lines Matching +full:report +full:- +full:coverage

1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-st…
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <link rel="stylesheet" href="resources/doc.css" charset="UTF-8" type="text/css" />
7 …<link rel="stylesheet" href="../coverage/jacoco-resources/prettify.css" charset="UTF-8" type="text…
8 <link rel="shortcut icon" href="resources/report.gif" type="image/gif" />
9 <script type="text/javascript" src="../coverage/jacoco-resources/prettify.js"></script>
10 <title>JaCoCo - Maven Plug-in</title>
17 <span class="el_source">Maven Plug-in</span>
21 <h1>Maven Plug-in</h1>
24 The JaCoCo <a href="http://maven.apache.org/">Maven</a> plug-in provides the
25 JaCoCo runtime agent to your tests and allows basic report creation.
29 If you want to have line number information included in the coverage reports
35 When using the <tt>maven-surefire-plugin</tt> or <tt>maven-failsafe-plugin</tt>
37 <a href="http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#forkCount">
39 <a href="http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#forkMode">
41 the tests with the <tt>javaagent</tt> set and no coverage would be recorded.
48 The JaCoCo distribution contains a simple example how code coverage
52 for a JAR project runs JUnit tests under code coverage and creates a coverage
53 report (<tt>target/site/jacoco/index.html</tt>).
56 This <a href="examples/build/pom-it.xml">POM file</a>
57 for a JAR project runs unit tests and integration tests under code coverage
58 and creates two coverage reports, one for unit tests (
60 <tt>target/site/jacoco-it/index.html</tt>).
72 The JaCoCo Maven plug-in requires
84 The Maven plug-in can be included in your build with the following
86 <a href="http://search.maven.org/#search|ga|1|g%3Aorg.jacoco%20a%3Ajacoco-maven-plugin">here</a>
90 <pre class="source lang-xml linenums">
93 &lt;artifactId&gt;jacoco-maven-plugin&lt;/artifactId&gt;
100 <code>maven-help-plugin</code>:
103 mvn help:describe -Dplugin=org.jacoco:jacoco-maven-plugin -Ddetail
107 Usage of plugin together with <tt>maven-site-plugin</tt> without
108 …<a href="https://maven.apache.org/plugins/maven-site-plugin/examples/configuring-reports.html#Sele…
112 <pre class="source lang-xml linenums">
118 &lt;artifactId&gt;jacoco-maven-plugin&lt;/artifactId&gt;
122 &lt;!-- select non-aggregate reports --&gt;
123 &lt;report&gt;report&lt;/report&gt;
136 The JaCoCo Maven plug-in defines the following goals:
140 <li><a href="help-mojo.html">help</a></li>
141 <li><a href="prepare-agent-mojo.html">prepare-agent</a></li>
142 <li><a href="prepare-agent-integration-mojo.html">prepare-agent-integration</a></li>
143 <li><a href="merge-mojo.html">merge</a></li>
144 <li><a href="report-mojo.html">report</a></li>
145 <li><a href="report-integration-mojo.html">report-integration</a></li>
146 <li><a href="report-aggregate-mojo.html">report-aggregate</a></li>
147 <li><a href="check-mojo.html">check</a></li>
148 <li><a href="dump-mojo.html">dump</a></li>
149 <li><a href="instrument-mojo.html">instrument</a></li>
150 <li><a href="restore-instrumented-classes-mojo.html">restore-instrumented-classes</a></li>