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 <[email protected]>: > 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] > >
