Hi Brett,

> -----Original Message-----
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: vendredi 24 mars 2006 00:55
> To: Maven Developers List
> Subject: Re: How to have several reports in a plugin?
> 
> Yes, everything that implements MavenReport is a report in the plugin.
> Bear in mind that when someone configures the plugin, they usually don't
> specify one report or the other, so they are *all* run.
> 
> You probably don't want that. What I'd suggest instead is having the one
> report with configuration to modify behaviour.
> 
> Specifically for the aggregation case - take a look at JXR/Javadoc that
> I added yesterday. When you put <aggregate> as configuration, it gathers
> it all up at the top, then skips generation in the modules.

I don't think this will work because in one report I need to fork a custom
lifecycle (i.e. " @execute phase="test" lifecycle="clover") whereas in the
other report I don't want this...

Any other idea?

> Its probably different for clover, because it has to run the tests
> across them all, then aggregate later.

Thanks
-Vincent

> Vincent Massol wrote:
> > Hi,
> >
> > I'm working on the Clover plugin and I have a need for 3 reports:
> >
> > * one that runs the full stuff in a forked lifecycle (instrumentation,
> > executing tests and generating a Clover report). This is what the
> current
> > clover:clover mojo does.
> >
> > * one that takes a Clover database and simply generates a report out of
> it.
> > This could also be an aggregator that finds all the clover databases in
> > modules and aggregate them.
> >
> > Is it possible to have several reports in the same plugin?
> >
> > Thanks
> > -Vincent
> >
> >
> > ---------------------------------------------------------------------
> > 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to