You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Owen <mi...@hotmail.com> on 2005/07/27 10:33:01 UTC

Accessing Environment Variables

Hi,

Seems like a trival problem, but can't find an answer to it on the net. How 
do I access environment variables in a properties file (not jelly file) in 
Maven 1.0.2?

Thanks,

Mike



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


Re: Accessing Environment Variables

Posted by Torsten Curdt <tc...@apache.org>.
> Hi,
>
> Seems like a trival problem, but can't find an answer to it on the  
> net. How do I access environment variables in a properties file  
> (not jelly file) in Maven 1.0.2?

AFAIK you cannot ...you would have to pass in the properties via -D

...but you do have access to system properties like ${user.name}

HTH
--
Torsten