maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Sanchez" <apa...@carlos.cousas.net>
Subject RE: How to generate a variable number of subprojects?
Date Fri, 02 Jul 2004 15:30:37 GMT
Hi,

I think you can setup a preGoal to multiproject:install in the maven.xml
file, check for the value of your property and change
maven.multiproject.includes accordingly.

Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net
 

> -----Original Message-----
> From: Roberto Castro [mailto:robertoc@cetip.com.br] 
> Sent: Friday, July 02, 2004 2:55 PM
> To: 'users@maven.apache.org'
> Subject: How to generate a variable number of subprojects?
> 
> Hi, I use multiproject plugin to generate jar files of my 
> project, but, sometimes, acoording to a parameter I pass to 
> maven (mm.spbmessage.domain), I'd like not to generate all 
> subprojects (jars).
> I run maven this  way; ">maven multiproject:install 
> -Dmm.spbmessage.domain=CETIP"
> Is there a conditional command I could use in 
> "project.properties" file, in order to configure 
> "maven.multiproject.includes" accordingly?
> 	Thanks in advance.
> 	Regards,
> 
>      Roberto de Castro 
>      Analista de Suporte 
>      Cetip - Desus Rio de Janeiro 
>      +55 21 2276-7439 
>      mailto:robertoc@cetip.com.br 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 



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


Mime
View raw message