Re: Copy-maven-plugin and settings.xml

2013-03-20 Thread Kevin Krumwiede
Put something like this in your settings.xml: default true scp://XX:YY@IP:/app_home/backup Then you can refer to ${target-url} in your POM. On 3/20/13, kishorej wrote: > Hi, > Instead of pom.xml i need to use it

Re: Copy-maven-plugin and settings.xml

2013-03-20 Thread kishorej
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 N

Re: Copy-maven-plugin and settings.xml

2013-03-19 Thread Kevin Krumwiede
You can put a profile section in your settings.xml and define properties in it that will be available to your POM. On Mar 19, 2013 6:34 AM, "kishorej" wrote: > > Hi, > I am using copy-maven-plugin for copying the .tar.gz from my hudson > machine(artifact) to the development server. I am using

Re: Copy-maven-plugin and settings.xml

2013-03-19 Thread Adrien Rivard
Why not using a ssh key with no password ? Alternatively you can let the server download the file via a simple cron script .(from hudson or even nexus or other MRM; nexus has a simple rest api for that). On Tue, Mar 19, 2013 at 2:34 PM, kishorej wrote: > Hi, > I am using copy-maven-plugin

RE: Copy-maven-plugin and settings.xml

2013-03-19 Thread Zanzerkia, Robert
[mailto:kishore.jaya...@gmail.com] Sent: Tuesday, March 19, 2013 9:34 AM To: users@maven.apache.org Subject: Copy-maven-plugin and settings.xml Hi, I am using copy-maven-plugin for copying the .tar.gz from my hudson machine(artifact) to the development server. I am using username, password, server ip and

Copy-maven-plugin and settings.xml

2013-03-19 Thread kishorej
Hi, I am using copy-maven-plugin for copying the .tar.gz from my hudson machine(artifact) to the development server. I am using username, password, server ip and path as hard coded in my pom instead of settings.xml. Could you please any one help me how to do the same in settings.xml file.