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, then the two reports are generated based on that data.

- Brett

On 01/12/2008, at 10:02 PM, Nicolas Dordet wrote:

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 manually and
add it to the jar created when executing mvn package or mvn install?

--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/


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

Reply via email to