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
Sorry to top-reply, but I'd like to address the original question. Maven
2.0.1 and later should support OS-shell environment variable references
from settings.xml and pom.xml using the following syntax:
If you would use echo $HOME in your shell script, you would use
${env.HOME} in your
On 05.01.2006, at 22:31, Adam Altemus wrote:
Greetings, my name is Adam Altemus. I am a computer science student @
Indiana University of PA. and am doing an internship. I read in a
thread that you said that you can acess environment variables in
the pom.xml
from the settings.xml. Could
Here's an issue on this topic: http://jira.codehaus.org/browse/MNG-1525.
The ability to reference environment variables appears to have been
added to plexus-utils, but I haven't had the time to check it out yet.
I'm not sure how environment variables can be referenced, probably
either
Greetings, my name is Adam Altemus. I am a computer science student @
Indiana University of PA. and am doing an internship. I read in a
thread that you said that you can acess environment variables in the pom.xml
from the settings.xml. Could you explain to me how this can be done?
Hello,
I would like to know if it is possible to access unix or windows environment
variables
in settings.xml or pom.xml and how to do it.
regards,
Tom
All properties available in System.getProperties() can be used using
expressions. The expressions format is ${key}.
Tom Joad wrote:
Hello,
I would like to know if it is possible to access unix or windows environment
variables
in settings.xml or pom.xml and how to do it.
regards,
Tom
Thanks.
That's Ok , I already use it but what I want is to get value of
user-defined environment variable.
Tom.
2005/11/23, Edwin Punzalan [EMAIL PROTECTED]:
All properties available in System.getProperties() can be used using
expressions. The expressions format is ${key}.
Tom Joad
There currently is no way to reference environment variables in Maven as
far as I know. However, a JIRA issue has been created and work is being
done to add this functionality (see
http://jira.codehaus.org/browse/MNG-1525).
Richard Allen
Tom Joad wrote:
Hello,
I would like to know if it
Hi,
A similar question. Is it possible to set properties in settings.xml and
refer to them in pom.xml?
Actually I have a company wide central pom.xml that is the parent of
all projects pom.xml. The company pom.xml file is maintained in its
own subversion maven module. Since all
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 [EMAIL PROTECTED] wrote:
Hi,
A similar question. Is it possible to set properties in settings.xml and
refer to them in pom.xml?
Actually I have a
11 matches
Mail list logo