I have the following in my Maven POM but when the reports generate it never excludes the files matching the patterns below. What am I doing wrong here? Please not I initally copied & pasted the example from the usage page and edited it with my excludes pattern. This did not work and I've since been making small changes trying to get it working. <project> . . <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.3</version> <configuration> <instrumentation> <excludes> <exclude>**/*Dao.class</exclude> </excludes> </instrumentation> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.3</version> <configuration> <instrumentation> <excludes> <exclude>**/*Dao.class</exclude> </excludes> </instrumentation> </configuration> </plugin> </plugins> </reporting> . . </project>
