You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marouane Amraoui <Ma...@omnidata.ma> on 2009/06/30 11:45:56 UTC

Skip package phase for one subproject

Hi,
I have a multiproject maven

Parent1 :

è Child1

è Child2

I launch mvn clean install on Parent1.
I need to skip package phase in subproject  Child2.

It is possible ?

Thx in advance.

RE: Skip package phase for one subproject

Posted by Marouane Amraoui <Ma...@omnidata.ma>.
We have 5 subproject. The last is a web application. At mvn clean install
Generation of the war take 4 minutes. We don't need to generate this war so if I skip this
Phase I will win 4 minute at build maven.


-----Message d'origine-----
De : Jaikiran [mailto:jai_forums2005@yahoo.co.in]
Envoyé : mardi 30 juin 2009 17:13
À : users@maven.apache.org
Objet : Re: Skip package phase for one subproject


As far as i know, you cannot skip the default lifecycle phases. Why exactly
do you want to do this?

-Jaikiran

Marouane Amraoui-2 wrote:
>
> Hi,
> I have a multiproject maven
>
> Parent1 :
>
> è Child1
>
> è Child2
>
> I launch mvn clean install on Parent1.
> I need to skip package phase in subproject  Child2.
>
> It is possible ?
>
> Thx in advance.
>
>

--
View this message in context: http://www.nabble.com/Skip-package-phase-for-one-subproject-tp24269066p24274859.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Skip package phase for one subproject

Posted by Jaikiran <ja...@yahoo.co.in>.
As far as i know, you cannot skip the default lifecycle phases. Why exactly
do you want to do this?

-Jaikiran

Marouane Amraoui-2 wrote:
> 
> Hi,
> I have a multiproject maven
> 
> Parent1 :
> 
> è Child1
> 
> è Child2
> 
> I launch mvn clean install on Parent1.
> I need to skip package phase in subproject  Child2.
> 
> It is possible ?
> 
> Thx in advance.
> 
> 

-- 
View this message in context: http://www.nabble.com/Skip-package-phase-for-one-subproject-tp24269066p24274859.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org