HI, I am having couple of issues with coberturan maven plugin.
Issues#1 Unit test ran Twice. First time is regular run of unit test and looks like cobertura is running the unit tests second time Issue #2 Unit tests Success in the First Run. For the second run I am getting class not found exceptions in the unit tests for the classes in the dependency jar. My Plugin configuration: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.6</version> <configuration> <formats> <format>xml</format> <format>html</format> </formats> <instrumentation> <!-- exclude generated classes from code coverage --> </excludes> </instrumentation> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>cobertura</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.12.4</version> <configuration> <skipTests>false</skipTests> </configuration> </plugin> Any help is appreciated on these issues. Thanks Ravi