You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "DeGraff, Adam" <ad...@rsasecurity.com> on 2004/03/01 22:19:42 UTC

Environemtal Vars

Hello,

In ant I was able to reference my environment vars via something like
${env.JAVA_HOME}

Is there a similar way to do this in Jelly/Maven?  The above syntax doesn't
produce anything.

Thanks,
Adam

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


Re: Environemtal Vars

Posted by "matthew.hawthorne" <ma...@apache.org>.
DeGraff, Adam wrote:
> In ant I was able to reference my environment vars via something like
> ${env.JAVA_HOME}
> 
> Is there a similar way to do this in Jelly/Maven?  The above syntax doesn't
> produce anything.


You could do it in a maven.xml goal the same way that you would do it 
with Ant.


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