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 <[email protected]> wrote:

> 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 <[email protected]> wrote:
>
> > 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 <[email protected]> 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 execute
> > for a
> > > plug-in?
> > >
> > > thanks in advance,
> > > Lin
> > >
> >
>

Reply via email to