Jamie Bisotti on 08/08/05 15:39, wrote:
On 8/8/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
I couldn't find any documentation on how to implement the Cobertura
reporting as part of the site:site goal. I scoured the website and it's
not obvious from that how and where I should set it up, or whether I
should install it from a different repository.
I see that cobertura/cobertura is on ibiblio in /m2/, but should there
be or is there somewhere a maven-cobertura-plugin?
I see there's a fair amount of people using it in maven 1.x - is there a
reporting plugin for m2 yet?
You can get the Maven 1.X plugin from the maven-plugins project on SF.
And, you should just have to add it to the <reports> section to get
it as part of your generated site:
<reports>
<report>maven-cobertura-plugin</report>
</reports>
You mean I can run m2 using the m1 plugin?
I don't think so - I just tried that it and failed with a dirty great
exception
java.lang.NullPointerException
at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:289)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]