Re: Best way to handle an ssh copy?

2011-12-15 Thread Benson Margulies
On Wed, Dec 14, 2011 at 6:26 PM, Tom Masterson kd7...@gmail.com wrote: We have several artifacts that we want to copy to remote servers via scp/ssh.  I have looked at the wagon plugin but the documentation seems to have issues. DO NOT try to use the Wagon plugin. It is *not* a tool for

Re: Best way to handle an ssh copy?

2011-12-15 Thread Tom Masterson
So if I don't use the wagon plugin do you have a sugestion as to what I should use? I am not finding anything else out there when I do a google search. Tom On Thu, 15 Dec 2011, Benson Margulies wrote: On Wed, Dec 14, 2011 at 6:26 PM, Tom Masterson kd7...@gmail.com wrote: We have several

Re: Best way to handle an ssh copy?

2011-12-15 Thread Olivier Lamy
Hello, If you talk about http://mojo.codehaus.org/wagon-maven-plugin. If wagon (ssh etc.) are missing, you must add those in the dependencies section of the plugin. Maybe you are using m3 so those are not included anymore in distribution. 2011/12/15 Tom Masterson kd7...@gmail.com: So if I don't

Re: Best way to handle an ssh copy?

2011-12-15 Thread Guillaume Polet
Although it is not fully reliable, what works for me is to use the maven-exec-plugin to directly invoke ssh/scp command. The issue is mainly that you cannot be sure that ssh or scp is installed on the computer maven is running on. But, in all likelyhood: * Linux: usually ssh/scp is installed

Re: Best way to handle an ssh copy?

2011-12-15 Thread Tom Masterson
Yes we are using Maven 3.0.3. Tom On Thu, 15 Dec 2011, Olivier Lamy wrote: Hello, If you talk about http://mojo.codehaus.org/wagon-maven-plugin. If wagon (ssh etc.) are missing, you must add those in the dependencies section of the plugin. Maybe you are using m3 so those are not included

Re: Best way to handle an ssh copy?

2011-12-15 Thread Stephen Connolly
ship-maven-plugin - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 15 Dec 2011 17:09, Tom Masterson kd7...@gmail.com wrote: So if I don't use the wagon plugin do you have

Re: Best way to handle an ssh copy?

2011-12-15 Thread Benson Margulies
Olivier, the wagon plugin will only copy things if the directory hierarchies look like a repo. On Thu, Dec 15, 2011 at 12:15 PM, Olivier Lamy ol...@apache.org wrote: Hello, If you talk about http://mojo.codehaus.org/wagon-maven-plugin. If wagon (ssh etc.) are missing, you must add those in

Re: Best way to handle an ssh copy?

2011-12-15 Thread Olivier Lamy
Sorry for misunderstanding, I was talking more about wagon api which can copy files even if the target is not a maven repo. But http://mojo.codehaus.org/wagon-maven-plugin/upload-mojo.html doesn't look to be limited to only maven repo target see sample

Re: Best way to handle an ssh copy?

2011-12-15 Thread Tom Masterson
Ship-maven-plugin won't work because we need to work with snapshots. What we are doing more specifically is putting a version from the build server to as many as four test servers for the use of a variety of teams and testing. Looks like I may have to roll my onw here. Tom On Thu, 15 Dec

Re: Best way to handle an ssh copy?

2011-12-15 Thread Tom Masterson
Ignore the last message I missed a parameter. Tom On Thu, 15 Dec 2011, Stephen Connolly wrote: ship-maven-plugin - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 15

Re: Best way to handle an ssh copy?

2011-12-15 Thread Benson Margulies
On Thu, Dec 15, 2011 at 1:32 PM, Olivier Lamy ol...@apache.org wrote: Sorry for misunderstanding, I was talking more about wagon api which can copy files even if the target is not a maven repo. But http://mojo.codehaus.org/wagon-maven-plugin/upload-mojo.html doesn't look to be limited to only

Best way to handle an ssh copy?

2011-12-14 Thread Tom Masterson
We have several artifacts that we want to copy to remote servers via scp/ssh. I have looked at the wagon plugin but the documentation seems to have issues. When I try to use it as documented I get an error telling me it can't find a plugin descriptor for wagon-ssh. Is there a good way to

Re: Best way to handle an ssh copy?

2011-12-14 Thread Stephen Connolly
maybe the ship-maven-plugin could help... though if you want to use a wagon that is non-default for the maven version you are using (eg ssh is non default in maven 3.0.3) you will need to either add that wagon as a dependency of *the plugin* or add that wagon as an extension to *the project's