title: Jacoco maven configuration for multi module project when some modules are present in sub directory
body: <p>My Project contains following structure</p>
  
  <pre><code>pom.xml
  |
  |
  -----sub module A pom.xml 
  |
  |
  -----sub module B pom.xml
  |
  |
  -----sub module plugins/C pom.xml
  |
  | 
  -----sub module plugins/D pom.xml
  </code></pre>
  
  <p>I have configured Main pom like this </p>
  
  <pre><code>&lt;modules&gt;
      &lt;module&gt;A&lt;/module&gt;
      &lt;module&gt;B&lt;/module&gt;
      &lt;module&gt;plugins/C&lt;/module&gt;
      &lt;module&gt;plugins/D&lt;/module&gt;
  &lt;/modules&gt;
  &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>When I am running "mvn verify" jacoco reports are getting generated only for module A &amp; B. For module plugin/C and plugin/D Jacoco is not executed hence no reports.</p>