title: How to exclude packages in sonar only for Cobertura but not for CheckStyle?
body: <p>We try to configure maven for run with sonar. At the moment sonar and maven in our project runs very well but now we try to exclude some packages of code coverage analysis.</p>
  
  <p>It's possible to skip this packages only for code coverage but no for analysis of code with checkstyle?</p>
  
  <p>We try this in our pom.xml:</p>
  
  <pre><code>        &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;sonar-maven-plugin&lt;/artifactId&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;instrumentation&gt;
                      &lt;excludes&gt;
                          &lt;exclude&gt;com/gribas/web/**/*.class&lt;/exclude&gt;
                          &lt;exclude&gt;com/gribas/web/**/*.java&lt;/exclude&gt;
                      &lt;/excludes&gt;
                  &lt;/instrumentation&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>But doesn't run.</p>
  
  <p>Anyone have an idea for do this?</p>
  
  <p>Thanks!!</p>