> From: Simon Kitching [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 15, 2008 7:39 AM
> To: Maven Users List; Matthew Tordoff
> Subject: RE: Setting Java System property
> Setting properties in a pom which are global to all stuff in 
> the pom (and child poms) is trivial, and definitely works 
> when *not* nested within a <configuration> element (as 
> documented in the page I referred you to):
> 
> <project>
>  ...
>  <properties>
>    <foo>fooval</foo>
>  </properties>
> </project>
> 
> It also works in settings.xml, but you do need to be sure 
> that the profile it is defined within is active..

I wish this would work, from what I've tried the properties will not get
passed to child modules. The only way I can get a property to be seen by
all poms is to -Dparm=val or use settings.xml. 

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

Reply via email to