title: How can I exclude exclude java files from cobertura report maven
body: <p>I have some utility classes in my java code. I wanted to exclude it from cobertura report and added exclude tag in my pom.xml. But it doesn't seems to be working. Is there any other way to exclude classes or whole package from the report?</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;configuration&gt;
        &lt;instrumentation&gt;
          &lt;excludes&gt;
            &lt;exclude&gt;com/main/class/util*.class&lt;/exclude&gt;
          &lt;/excludes&gt;
        &lt;/instrumentation&gt;
      &lt;/configuration&gt;
    &lt;/plugin&gt;
  </code></pre>