Put something like this in your settings.xml:
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<target-url>scp://XX:YY@IP:/app_home/backup</target-url>
</properties>
</profile>
</profiles>
Then you can refer to ${target-url} in your POM.
On 3/20/13, kishorej <[email protected]> wrote:
> Hi,
> Instead of pom.xml i need to use it settings.xml and how to call that
> or
> use it in pom.xml
>
> Thanks,
> kishore.J
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Copy-maven-plugin-and-settings-xml-tp5751230p5751317.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]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]