Tim Kettler wrote:
Hi,

Manos Batsis schrieb:

Suppose i bundle several mojos under one plugin artifactId, how can i make their execution optional? In other words, I only want to run a specific mojo when there is an execution element is present for it's goal in the plugin configuration.

Isn't that the default behaviour? You may want to look at the sources of the dependency- or assembly-plugin, both contain multiple mojo's and only those you specify in an execution element will be invoked.

I still cannot figure it out (or how much of it applies to Reporting mojos). Can someone please explain the difference, if any, between


/* @goal foo
 * @phase site
 */

and

/* @goal foo
 * @execute phase="site"
 */


??

Many thanks,

Manos




Many thanks,

Manos

-Tim

---------------------------------------------------------------------
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