Do'h. Guess I should read the whole thread before I reply ;-)

-----Original Message-----
From: Jaikiran [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 11, 2008 1:48 AM
To: [email protected]
Subject: Re: Does requireProperty consider system environment variables?


Great, the intermediate property trick works! 

Here's what i did:
<properties>
  <java.home>${JAVA_HOME}</java.home>
</properties> 

Then in the enforcer plugin:

<requireProperty>
  <property>java.home</property>
 <message>"Please set JAVA_HOME"</message>
</requireProperty>

Thanks for the help :)


Jaikiran wrote:
> 
> Matthew,
> 
> That's a good idea :)
> 
> Let me give it a try and see how it behaves. Will post the outcome.
> 
> 

-- 
View this message in context:
http://www.nabble.com/Does-requireProperty-consider-system-environment-v
ariables--tp20936086p20950262.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]


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

Reply via email to