BTW, I just created http://jira.codehaus.org/browse/MCOBERTURA-145. cobertura plugin 2.4 will produce and include the report at least for the modules, while in 2.5 the generation will be skipped completely.
Regards Mirko On Thu, Apr 21, 2011 at 23:16, Benson Margulies <[email protected]> wrote: > I can't claim to have tried it with maven 3.0.x. It works fine for us > with 2.2.1. > > On Thu, Apr 21, 2011 at 5:12 PM, Benson Margulies <[email protected]> > 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 > > > -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ https://bitbucket.org/mfriedenhagen/ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
