On 09/01/07, Robert Langridge <[EMAIL PROTECTED]> wrote:

Hi All,

I have written a couple of report plugins to date but I am currently
stuck. I would like to ensure that the 'package' lifecycle is called
before my report plugin. I've tried defining
"@requiresDependencyResolution package" but this doesn't appear to work.

I know it is possible to call a main lifecycle phase within the site
lifecycle because the cobatura test coverage calls 'test' before it
generates it's report.

Use @execute phase="package" on your mojo.  See:
http://maven.apache.org/developers/mojo-api-specification.html

Mark

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

Reply via email to