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?
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<configuration>
<instrumentation>
<excludes>
<exclude>com/main/class/util*.class</exclude>
</excludes>
</instrumentation>
</configuration>
</plugin>