Hi Zhangxu,

On 6/6/07, 張旭 <[EMAIL PROTECTED]> wrote:

Does maven2 has api to add and call a plugin in another plugin ?



This question has been asked a couple of times in the past, but nobody seems
to have an answer.
So, I think it's fair to conclude that there is no API available for this.

Or should I spell out dependency on the plugin being called and invoke
Mojo.execute() directly?



You could indeed add the resp. plugin as a dependency and call it directly,
but how about configuring the plugin's input parameters?
That's a real pain.

An API would be very nice, including some form of Configuration object to
pass to the plugin.

Cheers
Jo

Reply via email to