No, if you specify a plugin:goal that's what is going to be executed. Maven's lifecycle is not being used. Try "mvn clean:clean -X" for instance and you'll see.
/Anders On Tue, Dec 1, 2009 at 00:22, Paul Benedict <[email protected]> wrote: > Stephen, > > Without a @phase binding, what about when the plugin's goal is > explicitly executed at the command line? Do any of Maven's phases get > executed first? I suspect validate at least does. > > Paul > > On Mon, Nov 30, 2009 at 4:25 PM, Stephen Connolly > <[email protected]> wrote: > > if the mojo is annotated with @phase then the specified phase is the > > phase it will bind to if no phase is specified in the <execution> > > > > otherwise it will not be bound to any phase (i.e. it will not execute > > as part of any lifecycle) > > > > HTH > > > > -Stephen > > > > 2009/11/30 Paul Benedict <[email protected]>: > >> What phase is bound to a plugin's goal when no corresponding <phase> > >> element is present in their plugin.xml? > >> > >> (If it is none, I didn't know this was possible. I would assume at > >> least "validate" is run) > >> > >> Paul > >> > >> --------------------------------------------------------------------- > >> 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] > >
