On Today at 11:07am, AB=>Arnaud Bailly <[EMAIL PROTECTED]> wrote:

AB> [..snip..]
AB> 
AB> Not sure but I think that what you call environment variables are
AB> actually system properties set on maven's cli: Try
AB> 
AB> <activation>
AB>     <property>
AB>         <name>BLAH</name>
AB>         <value>blah</value>
AB>     </property>
AB> </activation>
AB> 
AB> mvn -DBLAH=blah help:active-profile
AB> 
AB> 
AB> HTH

Hi Arnaud,

Thanks for the reply, but I'm positive I want environment variables and 
not system properties. From http://maven.apache.org/settings.html

env.X: Prefixing a variable with "env." will return the shell's
environment variable. For example, ${env.PATH} contains the $path
environment variable (%PATH% in Windows).

I believe this has been in maven since 2.0.1+ (was implemented via MNG-1525).
http://jira.codehaus.org/browse/MNG-1525

Any more insight would be helpful.

Regards,
--
Haroon Rafique
<[EMAIL PROTECTED]>


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

Reply via email to