Try adding <version>2.0</version> for the plugin and see if it works
correctly...
----- Original Message -----
From: "Pete" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Wednesday, February 14, 2007 5:51 AM
Subject: cobertura works on its own but not in reporting mvn site
Hi there,
mvn cobertura:cobertura works fine, but if I include
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
then do 'mvn site'
although the report html comes out all classes show 0% coverage. I
can see from the debug the junits get run twice - probably because of
surefire
Any ideas? I've even compared the -X debug of both and they look the
same for the cobertura plugin execution.
Pete
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]