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

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



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 Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



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 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.
>
> 
> com.github.goldin
> copy-maven-plugin
> 0.2.5
> 
> 
> deploy-archive
> install
> 
> copy
> 
> 
> 
> 
> *
> scp://XX:YY@IP:/app_home/backup *
>
> *.tar.gz
> 
>
> 
> 
> 
> 
>
>
>
> --
> View this message in context:
http://maven.40175.n5.nabble.com/Copy-maven-plugin-and-settings-xml-tp5751230.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>


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 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.
>
> 
> com.github.goldin
> copy-maven-plugin
> 0.2.5
> 
> 
> deploy-archive
> install
> 
> copy
> 
> 
> 
> 
> *
> scp://XX:YY@IP:/app_home/backup *
>
> *.tar.gz
> 
>
> 
> 
> 
> 
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Copy-maven-plugin-and-settings-xml-tp5751230.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


-- 
Adrien Rivard


RE: Copy-maven-plugin and settings.xml

2013-03-19 Thread Zanzerkia, Robert
Hi,
 I just configured security for maven nexus repository using encrypted 
passwords using the below guide.



 http://maven.apache.org/guides/mini/guide-encryption.html

 
 This might help in your situation...

Robert Zanzerkia

 

-Original Message-
From: kishorej [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 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.


com.github.goldin
copy-maven-plugin
0.2.5


deploy-archive
install

copy




*
scp://XX:YY@IP:/app_home/backup *
 
*.tar.gz 

   







--
View this message in context: 
http://maven.40175.n5.nabble.com/Copy-maven-plugin-and-settings-xml-tp5751230.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



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.


com.github.goldin
copy-maven-plugin
0.2.5


deploy-archive
install

copy




*
scp://XX:YY@IP:/app_home/backup *
 
*.tar.gz 

   







--
View this message in context: 
http://maven.40175.n5.nabble.com/Copy-maven-plugin-and-settings-xml-tp5751230.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org