Hi KRR
 maybe profile is not activated by default, did you try to activate the
profile?
 https://maven.apache.org/settings.html#Profiles
regards

2015-10-13 6:15 GMT+02:00 KRR001 <krr...@gmail.com>:

> 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: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to