Do variables defined in the pom work too? 

Which xml files can use variables like this? 

I remember trying a variable inside of a profile.xml and it didn't work. But
I think the varaiable was defined in the pom and not and environment
variable.

-----Original Message-----
From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 18, 2006 8:15 PM
To: 'Maven Users List'
Subject: RE: Use System Properties in Settings.xml?

        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: [email protected]
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]



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

Reply via email to