Ah! Cool! That's good to know, and sorry that I was disseminating bad information.

On 04/21/2011 05:12 PM, Benson Margulies wrote:
someone provided a patch. mcobertura-65. it has been applied and
released. it seems to work

On Apr 21, 2011, at 4:33 PM, Dave Hicks<[email protected]>  wrote:

Unfortunately, unless something has changed in the last year, you can't get an aggregated 
report of coverage from a multi-module project.  When you run the Maven "site" 
goal (or the cobertura:cobertura goal), is when the reports will be generated.  Each 
module will have an individual sub-site that is linked to the parent.  Assuming you've 
set up the Cobertura plugin correctly, you'll get a report added to each sub-site for its 
coverage.

I ran into this issue a little over a year ago, myself.  At the time, there 
were no solutions that I could find that did not require some kind of monetary 
outlay, and my company was having no part of that (read: cheap).  It may be 
overkill for your needs, but you might consider looking at Sonar.  
(www.sonarsource.org)  I've never used it, but I understand it can do what 
you're looking for.

I hope this is helpful, though it probably isn't, particularly.  :-)
Dave


On 04/21/2011 02:34 PM, Mirko Friedenhagen wrote:
Hello,

I am trying to use cobertura 2.5 with Maven 3.0.3 and want it's
reports to be aggregated in a multi-module build (See
http://huschteguzzel.de/hudson/job/test-multimodule/ for a build resp.
https://github.com/mfriedenhagen/multi-module-sample/ branch
multi-site for the source). Right now I do not see neither an
aggregated report nor single reports for cobertura (see
http://huschteguzzel.de/hudson/job/test-multimodule/site/). What am I
doing wrong?

Thanks for your answers
Mirko
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

     http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to