Hello,
I've been trying to get the cobertura plugin running on our project, but
I'm having the same problems Daun DeFrance was having (March 28:
Continued Cobertura Plugin Issues). That is, if I run the "site" goal
after the "clean" goal, I end up with a report that shows 0% test
coverage for every class. If I run the site again (without running
"clean" again) then I get the coverage information that I would expect.
My pluginManagement section contains this:
<plugin>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.0</version>
</plugin>
In the "build" section I have this:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<executions>
<execution>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
And my reporting section looks like this:
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
</plugins>
</reporting>
Any suggestions on what might be going on? Is this a known issue with
the cobertura-maven-plugin? Or do I have something misconfigured?
Thanks!
David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]