Woops. I meant to write "env.*", not "ENV.*". Both are supported, from what
it seems. I can't imagine it remaining that way forever. It seems safest to
me going forward to use the env prefix.

Eric

On 8/19/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote:

As I had initially mentioned, this works for me, not sure about adding
"ENV" as a prefix to "MAVEN_HOME".

         <localRepository>${MAVEN_HOME}/repository</localRepository>

-----Original Message-----
From: Eric Redmond [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 19, 2006 11:08 AM
To: Maven Users List
Subject: Re: Use System Properties in Settings.xml?


I believe you need to prefix environment variables with ENV, so you may
need ${ENV.MAVEN_HOME}.

Eric

On 8/18/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote:
>
>         Yes, this works like below, where MAVEN_HOME is a environment
> variable :
>
>         <localRepository>${MAVEN_HOME}/repository</localRepository>
>
>
> -----Original Message-----
> From: SingleShot [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 18, 2006 10:53 PM
> To: users@maven.apache.org
> Subject: Use System Properties in Settings.xml?
>
>
> Is it possible to use system properties in the settings.xml? From
> playing around it appears it is not possible, but I thought I would
> ask. I would like to do something like this:
>
> <localRepository>$MAVEN_HOME/../../repository</localRepository>
>
> Thanks,
>
> Mike
> --
> View this message in context:
>
> http://www.nabble.com/Use-System-Properties-in-Settings.xml--tf2128523
> .html#
> a5874009
> Sent from the Maven - Users forum 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]
>
>


--
Eric Redmond
http://codehaus.org/~eredmond




--
Eric Redmond
http://codehaus.org/~eredmond

Reply via email to