You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Vincent Massol <vm...@pivolis.com> on 2005/06/12 16:37:05 UTC

[m2] Newbie questions on Site and Reports

Hi,

As I have to implement the clover report for the clover plugin, I'm starting
exploring m2 site and reports plugins.

I have a few questions:

1/ It seems there's no phase for either the site nor the report. Is that
correct? Is it planned to add a phase later on? Is there going to be a site
lifecycle as there's a release lifecycle?

2/ So say I want to build the site and the checkstyle report, I would need
to explicitely call "m2 site checkstyle". Is that correct?

3/ Can individual reports like the checkstyle one be registered against the
site plugin (I don't think so) as in m1? is that the plan in the future?

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [m2] Newbie questions on Site and Reports

Posted by Brett Porter <br...@apache.org>.
site is run standalone and executes the reports itself. At this point, 
there is no lifecycle, each report forks a new lifecycle to run things 
like tests, etc. Please check the lifecycle document in confluence for 
use cases.

reports are configured in the POM - see maven-core.

We're still discussing the proper format, as there have been threads 
recently on this list - you might like to check the archives.

- Brett

Vincent Massol wrote:

>Hi,
>
>As I have to implement the clover report for the clover plugin, I'm starting
>exploring m2 site and reports plugins.
>
>I have a few questions:
>
>1/ It seems there's no phase for either the site nor the report. Is that
>correct? Is it planned to add a phase later on? Is there going to be a site
>lifecycle as there's a release lifecycle?
>
>2/ So say I want to build the site and the checkstyle report, I would need
>to explicitely call "m2 site checkstyle". Is that correct?
>
>3/ Can individual reports like the checkstyle one be registered against the
>site plugin (I don't think so) as in m1? is that the plan in the future?
>
>Thanks
>-Vincent
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>For additional commands, e-mail: dev-help@maven.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org