You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Julian Wood <wo...@ucalgary.ca> on 2006/03/03 01:19:20 UTC

Re: accessing environment variable in settings.xml or pom.xml

Any way to access other elements in your settings.xml? Say via an XPath?

${servers/server[id='myServer']/username/text()}

or something like that?

J


On 23-Nov-05, at 2:33 PM, Brett Porter wrote:

> Yes, you should be able to put properties in  aprofile in settings.xml
> and use them from the pom.
>
> - Brett
>
> On 11/24/05, Martin van der Plas <mv...@imc.nl> wrote:
>> Hi,
>>
>> A similar question. Is it possible to set properties in  
>> settings.xml and
>> refer to them in pom.xml?

--
Julian Wood <wo...@ucalgary.ca>

Programmer/Analyst
University of Calgary

http://commons.ucalgary.ca


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