This is only looking at properties in the POM/Model. One way to make it work would be to define in your pom hierarchy:
<javaHome>${env.java_home}</javaHome> And then check that javaHome is set. Otherwise, there would need to be a new custom rule that would look specifically at env-vars, which admittedly would be handy. Actually on second thought, try checking if env.java_home works if you specify that in the enforcer config. -----Original Message----- From: Jaikiran [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2008 9:34 AM To: users@maven.apache.org Subject: Re: Does requireProperty consider system environment variables? Thanks, That answers my question :-) Stephen Connolly-2 wrote: > > Write a custom enforcer rule! > > -- View this message in context: http://www.nabble.com/Does-requireProperty-consider-system-environment-v ariables--tp20936086p20936504.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]