title: cobertura-maven-plugin excludes configuration
body: <p>I have a Maven project with a test case <code>DefaultViewTypeToFragmentMapperTest.java</code> in the directory <code>/src/test/java/test/com/mycompany/myproduct/android/viewtype2fragmentmapper/</code>.</p>
  
  <p>I want this test case to be excluded from unit test coverage calculation. In order to achieve this result, I configured the plugin like this:</p>
  
  <pre><code>&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.2&lt;/version&gt;
      &lt;configuration&gt;
          &lt;formats&gt;
              &lt;format&gt;html&lt;/format&gt;
              &lt;format&gt;xml&lt;/format&gt;
          &lt;/formats&gt;
          &lt;instrumentation&gt;
              &lt;excludes&gt;
                  &lt;exclude&gt;test/co/**/*.class&lt;/exclude&gt;
              &lt;/excludes&gt;
          &lt;/instrumentation&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>But I still see the aforementioned class in the coverage report.</p>
  
  <p>How can I fix it such that the test case does not appear in the report and its coverage (0 % according to the report) is not taken into account?</p>