-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Medium
-
Affects Version/s: 2.1.0
-
Component/s: None
-
None
-
Environment:
Eclipse V3.2, Eclipse Clover Plug-in v2.1.0, Maven-clover-plug-in V3.7. OS windows XP
I have a project for which the Clover plug in for eclipse reports a coverage of 88.7%, but the Maven-clover-plug-in reports code coverage of 81.2%.
I suspect that the variation is caused by the includes, excludes settings.
I've set the includes in the Eclipse plugin as:
src/main/java/*/.java
and the excludes as:
src/test/java/*/.java
In the maven pom file I've configured the excludes as:
<excludes>
<exclude>src/test/java/*/.java</exclude>
</excludes>
but whenever I add:
<includes>
<include>src/main/java/*/.java</include>
</includes>
The maven colver plug in reports that no sources could be found.
Thanks,
Peter Johnstone