I have to add I misunderstood the patch, MNG-1499 solved only the order from
parent pom.xml to the module pom.xml but not if you have several plugins
defined in one phase in module pom.xml.
The solution is the same like in MNG-1499. I patched the code myself. At
least it works for me.
Patch can be found under MNG-1891 in jira.codehaus.org
Andreas


-----Ursprüngliche Nachricht-----
Von: Andreas Zschorn [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 16. Januar 2006 02:37
An: 'Maven Users List'
Betreff: RE: Patch regarding build order

Sorry cut and paste error,
The 3 sentence should say
"I defined 2 plugins ( (1) build-helper-maven-plugin and (2) javadoc ) in
the subpom and assigned them to the phase site."
Andreas
-----Ursprüngliche Nachricht-----
Von: Andreas Zschorn [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 16. Januar 2006 00:31
An: users@maven.apache.org
Betreff: Patch regarding build order

Hi I have a problem regarding the execution order of a plugin in one phase
in maven2.
In a mutliproject this is not working.
I defined 2 plugins in the subpom and assigned them to the site-phase
Javadoc and The order is not what it should be, it was just arbitrary After
some searches I found this is a bug and was already solved, the status was
on applied
MNG-1499
So build the current SVN Snapshot -  2.1-SNAPSHOT.
But it seems the problem is again there. As soon as I disable inheritance it
works like it should.

This gets really annoying.
The general fundamental problem was and is for me more that it is impossible
the state another goal from another pluging as a prerequisite for execution.
I saw several comments that this will be possible in 2.1, but I do not know
how the state of this is and how to do this.

Perhaps someone can help me.
I really just want to explicitly determine the execution order of plugins in
one phase. I always thought this would be a fundamental thing but I did not
found a way to do this in maven2.

Andreas







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