You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sebb <se...@gmail.com> on 2010/05/24 15:13:03 UTC

Property resolution in server section of settings.xml file

I've been trying to use a property reference in the <server> section
of my settings.xml file to define the username.

But this does not seem to work, nor do property references in the
password field seem to work.

Yet clearly properties are supported in some parts of the <server> section:

http://maven.apache.org/settings.html#Servers includes:
<privateKey>${user.home}/.ssh/id_dsa</privateKey>

I thought that property references were resolved by the Maven core
before any plugins that use them got involved, but it looks like that
is not the case.

How do I find out which tags support references and which do not
(other than by trial and error)?

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