Re: for maven short-cut command like mvn clean and mvn package

2015-04-06 Thread Lin Ma
Thanks MK. regards, Lin On Mon, Apr 6, 2015 at 2:01 AM, MK Tan wrote: > On Mon, Apr 6, 2015 at 3:26 PM Lin Ma wrote: > > > Thanks MK, > > > > The command is very helpful. I tried package command as well, here are > what > > I tried and output, want to confirm my understanding is correct, mvn >

Re: for maven short-cut command like mvn clean and mvn package

2015-04-06 Thread MK Tan
On Mon, Apr 6, 2015 at 3:26 PM Lin Ma wrote: > Thanks MK, > > The command is very helpful. I tried package command as well, here are what > I tried and output, want to confirm my understanding is correct, mvn > package will execute all the phases before and include package phase in > default life

Re: for maven short-cut command like mvn clean and mvn package

2015-04-06 Thread Lin Ma
Thanks MK, The command is very helpful. I tried package command as well, here are what I tried and output, want to confirm my understanding is correct, mvn package will execute all the phases before and include package phase in default lifecycle? Thanks. mvn help:describe -Dcmd=package -Ddetail

Re: for maven short-cut command like mvn clean and mvn package

2015-04-05 Thread MK Tan
When you run mvn help:describe -Dcmd=clean -Ddetail You can see that clean is a lifecycle that run 3 phases: - pre-clean - clean - post-clean On Mon, Apr 6, 2015 at 2:17 PM, Lin Ma wrote: > Thanks MK, > > Want to confirm my understanding is correct, when I execute mvn clean, it > is to execut

Re: for maven short-cut command like mvn clean and mvn package

2015-04-05 Thread Lin Ma
Thanks MK, Want to confirm my understanding is correct, when I execute mvn clean, it is to execute clean phase of default lifecycle? Thanks. regards, Lin On Sun, Apr 5, 2015 at 11:04 PM, MK Tan wrote: > You can try > http://maven.apache.org/plugins/maven-help-plugin/describe-mojo.html > > > On

Re: for maven short-cut command like mvn clean and mvn package

2015-04-05 Thread MK Tan
You can try http://maven.apache.org/plugins/maven-help-plugin/describe-mojo.html On Mon, Apr 6, 2015 at 12:37 PM, Lin Ma wrote: > Hello Maven experts, > > Comparing to full format command like mvn plugin:goal, for command like mvn > clean and mvn package, how to find which is the exact goal to

for maven short-cut command like mvn clean and mvn package

2015-04-05 Thread Lin Ma
Hello Maven experts, Comparing to full format command like mvn plugin:goal, for command like mvn clean and mvn package, how to find which is the exact goal to execute for a plug-in? thanks in advance, Lin