Re: Mojo's order execution in a plugin

2008-12-01 Thread Nicolas Dordet
2008/12/1 Brett Porter <[EMAIL PROTECTED]> > It's not a defined behaviour to honour the order of the plugin descriptor > (nor is there a way to force that ordering when generating). > I solve my problem by modifiying the plugin.xml by hand (replacing order of the mojo's declaration)... not really

Re: Mojo's order execution in a plugin

2008-12-01 Thread Brett Porter
It's not a defined behaviour to honour the order of the plugin descriptor (nor is there a way to force that ordering when generating). Reports are not intended to be dependent on each other. Probably what you want to do here is write the common code into a goal that can be run in pre-site,

Mojo's order execution in a plugin

2008-12-01 Thread Nicolas Dordet
Hi all, I'm developing a maven plugin witch contain 2 mojos (abstractMavenReport). I wanted maven to execute mojoA before mojoB when doing a "mvn site". I saw that in the plugin descriptor my mojoB is declared before my mojoA. How can I change that? Is there a way to change the plugin.xml manuall