Hi All,

I created my own plugin and bind a goal to 'install' phase via '@phase
install' in the goal's MOJO. My question is if I run this goal via
myPlugin:Mygoal in command line, will it execute all the previous phases? I
am expecting all phases above install to be exceuted, that are
(validate,compile,test,package, integration-test, verify etc).

I am hoping this to happen because same thin happens when we run 'mvn
package', it executes all the previous phases before package. On the
contrary I found this link over the discussion and I got confused.
http://www.mail-archive.com/[email protected]/msg105538.html

If any goal ran from the command line doesn't go through lifecycle phase
then how mvn package executes all the previous phases of it.

Thanks
--Amaresh

Reply via email to