Wayne Fay wrote:
> 
> I would probably set that up as follows:
> Default profile (in parent pom) only specifies <modules> which are jars
> War profile specifies all modules, jars and wars
> 
> I have a similar set up already for some projects - but in this case I do
> want to build (and especially compile) the web app projects.
> 
> I have played around with <execution> sections on the war plugin but i
> can't get it to unbind to the phase - I suspect it is not possible but I
> was hoping if someone could confirm that. 
> 
> On 6/17/08, Ben Gidley <[EMAIL PROTECTED]> wrote:
>> Hi,
>> We have a multiproject which contains both war and jar projects. I would
>> like (in a profile) to disable the war projects from building their wars
>> -
>> as it takes ages and we only need them now and then.
>>
>> Is this possible?
>>
>> So I want to run
>> mvn install -PnoWars
>> At the parent and get all the jars built but not the wars.
>>
>> Thanks
>>
>> Ben Gidley
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Disabling-a-plugin-bound-to-a-phase-tp17909208p17971871.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to