Add
<report>maven-cobertura-plugin</report>
to the reports section and you'll get it when building the site
<reports>
<report>maven-cobertura-plugin</report>
</reports>
On 7/20/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
> OK, I ran it like you said in my maven multiproject:site-deploy as one of
> the report plugins.
>
> Now each of my 8 subprojects have 50 to 200 unit tests each. However, _ALL_
> of the 8 Cobertura reports showed zero tests where run at all.
>
> So what am I missing to get Cobertura to see my unit tests and operate
> properly?
>
>
>
>
> >From: Andy Glick <[EMAIL PROTECTED]>
> >Reply-To: "Maven Users List" <[email protected]>
> >To: [email protected]
> >Subject: Re: [maven] jcoverage examples please?
> >Date: Wed, 20 Jul 2005 14:05:32 -0400
> >
> >Mick Knutson wrote:
> >>Can you please show me your Maven cfg then for this please?
> >>
> >>
> >>
> >>>From: Carlos Sanchez <[EMAIL PROTECTED]>
> >>>Reply-To: [EMAIL PROTECTED]
> >>>To: Maven Users List <[email protected]>
> >>>Subject: Re: [maven] jcoverage examples please?
> >>>Date: Tue, 19 Jul 2005 16:18:23 -0700
> >>>
> >>>Hi,
> >>>
> >>>I suggest you to take a look at the cobertura plugin. Cobertura is a
> >>>fork of jcoverage actively developed, while jcoverage seems stalled.
> >>>
> >>>http://maven-plugins.sourceforge.net//maven-cobertura-plugin/
> >
> >Mick,
> >
> >I just did a couple of experiments with both the jcoverage and the
> >cobertura plugins with a Maven project on which I had never used either.
> >
> >If you download the plugins into your ${MAVEN_HOME}/plugins directory, you
> >can simply invoke the default goals of each plugin:
> >
> >"maven [clean] jcoverage cobertura"
> >
> >It isn't necessary that you execute the "clean" goal, I included it as an
> >option so that, if you use it, you will be able to see all of the
> >goals/subgoals that Maven will execute as it prepares your project for
> >instrumentation and then later as the test sets are run.
> >
> >Unless you have special requirements that is all you have to do during your
> >normal development cycle, and since JCoverage and Cobertura are pretty
> >similar, you can choose between them. As was already said, Cobertura is the
> >active fork of the now moribund open source bits of the JCoverage project
> >(JCoverage continues to be developed and enhanced, but that version is
> >commercial.)
> >
> >If you were to add a reference to the maven-cobertura-plugin to the reports
> >section of your pom (project.xml) file, then, if and when you generate a
> >website for your project using Maven, it will include the Cobertura HTML
> >report in the generated site.
> >
> >If there are specific things that you need to tweak, take a look at the
> >properties available to you on the plugin's website.
> >
> >I hope that this helps. If you have more detailed questions, don't hesitate
> >to email me directly and I'll attempt to offer more assistance.
> >
> >Best regards,
> >
> >Andy
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> Thank You
> Mick Knutson
>
> Sr. Java/J2EE Consultant
> BASE logic, inc.
> (415) 648-1804 (S.F., CA)
> http://www.BASELogic.com
>
> HP Consulting Services (Walnut Creek, CA)
>
>
>
> ---------------------------------------------------------------------
> 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]