Manos Batsis wrote:
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"
*/
According to the documentation, this seems irrelevant to my original
question, which is, how to make reporting mojo execution optional, i.e.
not happen unless the user specifies an execution for it.
Thanks for your help,
Manos
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]