Hello!
I’m runnning cobertura on my project and a report is generated but it says 0%
coverage on all classes. I use the simplest configuration:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.1</version>
</plugin>
When I run mvn cobertura:cobertura, all the tests are run and the final message
is:
Cobertura: Loaded information on 871 classes.
Report time: 23262ms
I use maven 3.0.3
The weird thing is that I have another project configrued the exact same way
with cobertura and the analasys works fine there.
The only differance I can think of is that in the project that works, the tests
are located in the “standard” maven folder for test classes. But can that have
any impact?
/Ludwig