It's not supported. The best solution I can think of is to produce your own maven plugin,that does what you want. With Maven 3, you can produce that plugin as part of you multi-module build if you don't want to keep it outside of it.
/Anders On Fri, Aug 31, 2012 at 10:57 AM, Jeff MAURY <[email protected]>wrote: > Hello, > > I have a question about plugin execution ordering. I understood this has > been fixed in 3.0.3 but I have a special case. > I need to execute differents goals from the same plugin in the same phase: > so far so good, I just need to list them in the proper order in my POM > file. > But now, I want to insert between the two goal the execute of the clean > goal of the Maven clean goal. > So I duplicated the definition of the first plugin, each declaration > declaring only one goal and insert the Maven clean plugin execution between > the two. > I am facing several problems > 1) it seems multi declaration of the same plugin generates a warning and > leads to problems as I can't see the execution of the first goal > 2) do you think this use case is not supported > > Thanks > Jeff > > > -- > Jeff MAURY > > > "Legacy code" often differs from its suggested alternative by actually > working and scaling. > - Bjarne Stroustrup > > http://www.jeffmaury.com > http://riadiscuss.jeffmaury.com > http://www.twitter.com/jeffmaury > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
