Hi,
I would like to setup profiles with username and password as properties.
Then I would like to use the properties in the servers/server tags in the
same file.
Something like the following:
profile>
                        <id>old-nexus</id>
                        <activation>
                                <activeByDefault>true</activeByDefault>
                        </activation>
                        <properties>
                                <nexus.username>me</nexus.username>
                        </properties>
                </profile>

<servers>
                <server>
                        <id>releases</id>
                        <username>${nexus.username}</username>

When I do this ${nexus.username} is not replaced with me.

Am I doing anything wrong or is it not possible?
/Gunnar



--
View this message in context: 
http://maven.40175.n5.nabble.com/use-properties-within-settings-xml-tp5748461.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to