MAVEN3: how to disable emma-maven-plugin in child project
<p>I have a parent pom.xml that defines the emma-maven-plugin with inherited=true. </p>

<pre><code>&lt;reporting&gt;
      &lt;plugins&gt;
         &lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
            &lt;version&gt;${maven.site.version}&lt;/version&gt;
         &lt;/plugin&gt;
         &lt;plugin&gt;
            &lt;groupId&gt;org.sonatype.maven.plugin&lt;/groupId&gt;
            &lt;artifactId&gt;emma-maven-plugin&lt;/artifactId&gt;
            &lt;version&gt;${emma.maven.version}&lt;/version&gt;
            &lt;inherited&gt;true&lt;/inherited&gt;
         &lt;/plugin&gt;
&lt;/plugins&gt;
&lt;/reporting&gt;
</code></pre>

<p>However I have a child pom.xml that does not contain any tests. So I tried adding this... execution none, inherited false and skip true to skip the emma report generation, but it does not seem to work. Any ideas?</p>

<pre><code>&lt;build&gt;
  &lt;plugins&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.sonatype.maven.plugin&lt;/groupId&gt;
      &lt;artifactId&gt;emma-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;${emma.maven.version}&lt;/version&gt;            
      &lt;inherited&gt;false&lt;/inherited&gt;
      &lt;executions&gt;
        &lt;execution&gt;
          &lt;phase&gt;none&lt;/phase&gt;
        &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;configuration&gt;               
        &lt;skip&gt;true&lt;/skip&gt;
      &lt;/configuration&gt;
    &lt;/plugin&gt;
  &lt;/plugins&gt;
&lt;/build&gt;

&lt;reporting&gt;
  &lt;plugins&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.sonatype.maven.plugin&lt;/groupId&gt;
      &lt;artifactId&gt;emma-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;${emma.maven.version}&lt;/version&gt;            
      &lt;inherited&gt;false&lt;/inherited&gt;
      &lt;configuration&gt;               
        &lt;skip&gt;true&lt;/skip&gt;
      &lt;/configuration&gt;
    &lt;/plugin&gt;
  &lt;/plugins&gt;
&lt;/reporting&gt;
</code></pre>