title: NetBeans code coverage without changing POM
body: <p>I can very easily get a code coverage report in NetBeans, but adding the following to my project <code>pom.xml</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;version&gt;0.7.7.201606060606&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;prepare-agent&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
                  &lt;execution&gt;
                      &lt;id&gt;report&lt;/id&gt;
                      &lt;phase&gt;prepare-package&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;report&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>However, the rest of my team would prefer not to have the JaCoCo dependency  into the project source repository. They get IDE code coverage from EclEMMA in Eclipse, and there are other systems in the CI chain that do code quality checks.</p>
  
  <p>My best solution at the moment is to copy/paste the JaCoCo plugin stanza into the POM when working locally, then remove it before committing to SCM. Is there a better way to see coverage in NetBeans without editing the POM?</p>