Hi Todd
What version of the Cobertura plugin are you using?
I believe issues like the ones you describe, were fixed in version 2.2.
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11226&styleName=Html&version=13090
Todd Wells wrote:
The cobertura:cobertura doesn¹t look for cobertura.ser in the place that it
puts it!
cobertura.ser is put in target/cobertura/cobertura.ser, but the reporting
phase of the mojo doesn¹t look there, so the report indicates 100% coverage.
I can prove this by specifying the location manually like this:
mvn clean cobertura:cobertura
-Dnet.sourceforge.cobertura.datafile=target/cobertura/cobertura.ser
When I specify it that way, the report is correct (not 100%).
However, we don¹t want to have to remember that long environment variable
every time. So how can I configure the pom so that it looks in the right
place? It seems silly that the mojo doesn¹t look for this in the right
place automatically.
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email