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-variables--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]

Reply via email to