title: Maven skip site/reporting for module
body: <p>I have a multi-module project and in the parent pom, I have several reporting plug-ins defined. Some of the modules contain code that does not need to have the reporting plugins run against them and I do not need them included in the generated site. Is there a way I can tell Maven to ignore them at the parent pom level?</p>
  
  <h3>Update:</h3>
  
  <p>Based on ajozwik's answer I added the skip configuration. My POMs now look like the following...</p>
  
  <strong>parent/pom.xml</strong>
  
  
  
  <pre class="lang-xml prettyprint-override"><code>&lt;modules&gt;
    &lt;module&gt;service&lt;/module&gt;
    &lt;module&gt;client&lt;/module&gt;
  &lt;/modules&gt;
  &lt;reporting&gt;
    &lt;plugins&gt;
      &lt;plugin&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-checkstyle-plugin&lt;/artifactId&gt;
        &lt;version&gt;2.9.1&lt;/version&gt;
      &lt;/plugin&gt;
      &lt;plugin&gt;
        &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
        &lt;artifactId&gt;findbugs-maven-plugin&lt;/artifactId&gt;
        &lt;version&gt;2.4.0&lt;/version&gt;
      &lt;/plugin&gt;
      &lt;plugin&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
        &lt;version&gt;2.8.1&lt;/version&gt;
      &lt;/plugin&gt;
      &lt;plugin&gt;
        &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
        &lt;artifactId&gt;cobertura-maven-plugin&lt;/artifactId&gt;
        &lt;version&gt;2.5.1&lt;/version&gt;
        &lt;configuration&gt;
          &lt;formats&gt;
            &lt;format&gt;html&lt;/format&gt;
          &lt;/formats&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;
    &lt;/plugins&gt;   
  &lt;/reporting&gt;
  </code></pre>
  
  <p><strong>client/pom.xml</strong></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;build&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;3.1&lt;/version&gt;
        &lt;configuration&gt;
          &lt;skip&gt;true&lt;/skip&gt;
          &lt;skipDeploy&gt;true&lt;/skipDeploy&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;
    &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>When I execute: </p>
  
  <pre class="lang-xml prettyprint-override"><code>mvn clean package site
  </code></pre>
  
  <p>The build succeeds and the client's target directory does not contain the generated site. When I run:</p>
  
  <pre class="lang-xml prettyprint-override"><code>mvn clean package site site-stage
  </code></pre>
  
  <p>In order to stage the site, it stages the site correctly. Without the skipDeploy tag, the staging would fail...</p>