I trying to read port from settings.xml file and I get [echo] Port: ${ ftp-port
} and not port number.
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<properties>
< ftp-port >${user.home}22</ ftp-port >
</properties>
</profile>
</profiles>
</settings>
<target>
<echo>Port: ${ftp-port}</echo>
What am I missing?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]