You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Levin, Ilya" <il...@hp.com> on 2012/08/19 16:17:32 UTC

maven default-

HI,

Sometimes I want to override default execution goals, for example:
war:war goal. So what I do is simply add to the maven-war-plugin this:


                    <execution>
                        <id>default-war</id>
                        <phase>none</phase>
                    </execution>

The question is where is default-war define in maven (same goes for default-jar,default-install etc...).

Thanks!

Re: maven default-

Posted by Aliaksei Lahachou <al...@gmail.com>.
http://maven.apache.org/guides/mini/guide-default-execution-ids.html


On Sun, Aug 19, 2012 at 4:17 PM, Levin, Ilya <il...@hp.com> wrote:

> HI,
>
> Sometimes I want to override default execution goals, for example:
> war:war goal. So what I do is simply add to the maven-war-plugin this:
>
>
>                     <execution>
>                         <id>default-war</id>
>                         <phase>none</phase>
>                     </execution>
>
> The question is where is default-war define in maven (same goes for
> default-jar,default-install etc...).
>
> Thanks!
>