title: Jacoco, Maven & TestNG (0 test coverage)
body: <p>I'm currently trying to run Jacoco using Maven and TestNG.</p>
  
  <p>I haven't downloaded/installed anything.</p>
  
  <p>I've tried adding the following to my parent POM (also tried adding to test package POM, but still no results)</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.6.3.201306030806&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;destfile&gt;${basedir}/target/coverage-reports/jacoco-unit.exec&lt;/destfile&gt;
                  &lt;datafile&gt;${basedir}/target/coverage-reports/jacoco-unit.exec&lt;/datafile&gt;
              &lt;/configuration&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;jacoco-initialize&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;prepare-agent&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
                  &lt;execution&gt;
                      &lt;id&gt;jacoco-site&lt;/id&gt;
                      &lt;phase&gt;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>When I do "mvn clean install" or mvn package the output is appearing in root folder as "test-output". I've tried setting "outputDirectory" in Maven but this does nothing.</p>
  
  <p>Another bigger issue I'm having is it's not picking up any testNG tests. The code coverage is 0.</p>
  
  <p>Can someone help please?</p>