cobertura-maven-plugin: Cant seem to exclude packages and classes from instrumentation???

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cobertura-maven-plugin: Cant seem to exclude packages and classes from instrumentation???

pbCode
This post has NOT been accepted by the mailing list yet.
Hi,
  I am new to configuring cobertura with maven.  Within the instrumentation I am trying to exclude packages and classes.  To the point that I have tried to exclude everything!  Within my pom file I have the following.  I have been trying various things but none seem to work...  Can someone please help.

                                        <instrumentation>
                                                <ignores>
                                                        <ignore>com.*</ignore>
                                                        <ignore>com.product.patterns.decorator.*</ignore>
                                                        <ignore>com.product.patterns.factory.*</ignore>
                                                </ignores>
                                                <excludes>
                                                        <exclude>com/product/patterns/**/*.class</exclude>
                                                </excludes>
                                        </instrumentation>