maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MK Tan <mktan...@gmail.com>
Subject Re: for maven short-cut command like mvn clean and mvn package
Date Mon, 06 Apr 2015 06:22:08 GMT
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 <linlma@gmail.com> 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 <mktany2k@gmail.com> 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 <linlma@gmail.com> 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
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message