RE: Deploy with SFTP tries to cd to parent too many times

2010-09-17 Thread Gorham-Engard, Frank
I can't help wondering if this entire discussion is continuing because of semantics. I think you are talking about two uses of the word deploy. For a Maven Deploy a standard Maven repository is probably best. For a Production Deploy we must use whatever the production environment provides. If

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-17 Thread Jason van Zyl
I make the distinction where Maven deploys and putting something in production is provisioning. On Sep 17, 2010, at 2:25 PM, Gorham-Engard, Frank wrote: I can't help wondering if this entire discussion is continuing because of semantics. I think you are talking about two uses of the word

Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Trevor Harmon
Hi, I'm running into a build failure when doing mvn deploy via SFTP. This appears to be a bug that affects any repository whose SFTP host disallows access to the root directory. Here's what I know so far: By instrumenting JSch (which does the actual SFTP commands), I can see that the problem

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Stephen Connolly
[You probably don't want to hear this, but you should hear it anyway] Use A Maven repository manager and then you will not be worrying about sftp at all. You should be using a maven repository manager in any case. your life will be much much simpler -Stephen On 6 September 2010 09:15, Trevor

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Trevor Harmon
On Sep 6, 2010, at 1:49 AM, Stephen Connolly wrote: Use A Maven repository manager and then you will not be worrying about sftp at all. How does a repository manager eliminate the need for SFTP? Trevor - To unsubscribe,

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Stephen Connolly
Because they all deploy via http/https On 6 September 2010 10:19, Trevor Harmon tre...@vocaro.com wrote: On Sep 6, 2010, at 1:49 AM, Stephen Connolly wrote: Use A Maven repository manager and then you will not be worrying about sftp at all. How does a repository manager eliminate the

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Trevor Harmon
On Sep 6, 2010, at 3:17 AM, Stephen Connolly wrote: Because they all deploy via http/https So in other words, use WebDAV and then I will not be worrying about SFTP at all. Well, yes, naturally. But at the moment my client only has an SFTP server, and as far as I know, the SFTP transport in

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Stephen Connolly
Actually no, AFAIK use http direct, so it's not the WebDAV client at all. Your client would be better served using a Maven Repository Manager than a website backed by an SFTP share. Drink the Kool-aid, I recommend Nexus, easy to set up and the staging support in the professional edition is

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Trevor Harmon
On Sep 6, 2010, at 4:01 AM, Stephen Connolly wrote: Your client would be better served using a Maven Repository Manager than a website backed by an SFTP share. Drink the Kool-aid No small feat. I am the lone Java developer in an enterprise that is 100% C#. They already drank the Kool-Aid, and

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Trevor Harmon
On Sep 6, 2010, at 4:01 AM, Stephen Connolly wrote: Actually no, AFAIK use http direct, so it's not the WebDAV client at all. Hmm... so how are artifacts deployed without Wagon? The Wagon docs say that deployment over HTTP is not supported. Trevor

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Stephen Connolly
not without wagon, just not with the webdav wagon On 6 September 2010 12:23, Trevor Harmon tre...@vocaro.com wrote: On Sep 6, 2010, at 4:01 AM, Stephen Connolly wrote: Actually no, AFAIK use http direct, so it's not the WebDAV client at all. Hmm... so how are artifacts deployed without

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Ron Wheeler
You are dancing around the edges. Get Nexus up and running and start to enjoy using Maven. It is free. It is easy to install and configure. It makes finding artifacts painless and encourages/forces you to deploy properly. It gives a great deal of transparency to the whole Maven process.

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Justin Edelson
Can you use SCP instead of SFTP? On Mon, Sep 6, 2010 at 4:15 AM, Trevor Harmon tre...@vocaro.com wrote: Hi, I'm running into a build failure when doing mvn deploy via SFTP. This appears to be a bug that affects any repository whose SFTP host disallows access to the root directory. Here's

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Trevor Harmon
On Sep 6, 2010, at 7:22 AM, Justin Edelson wrote: Can you use SCP instead of SFTP? I tried that, but it fails with Remote connection terminated unexpectedly. I suspect this is because shell access to the server is disabled. (Trying to ssh to it gives PTY allocation request failed on channel 0

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Trevor Harmon
On Sep 6, 2010, at 6:48 AM, Ron Wheeler wrote: Get Nexus up and running and start to enjoy using Maven. I'm sensing a theme here. Anybody reminded of that old joke? Doctor, it hurts when I move my arm like this. Doctor: Then don't move your arm like that. It is free. It is easy to install

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Trevor Harmon
On Sep 6, 2010, at 4:35 AM, Stephen Connolly wrote: not without wagon, just not with the webdav wagon Sorry, I'm still confused. The Wagon docs [1] list the following providers: * File * HTTP * HTTP lightweight * FTP * SSH/SCP * WebDAV * SCM (in progress) Of the three that are accessible over

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Justin Edelson
On 9/6/10 2:24 PM, Trevor Harmon wrote: On Sep 6, 2010, at 4:35 AM, Stephen Connolly wrote: not without wagon, just not with the webdav wagon Sorry, I'm still confused. The Wagon docs [1] list the following providers: * File * HTTP * HTTP lightweight * FTP * SSH/SCP * WebDAV * SCM

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Justin Edelson
On 9/6/10 1:36 PM, Trevor Harmon wrote: On Sep 6, 2010, at 7:22 AM, Justin Edelson wrote: Can you use SCP instead of SFTP? I tried that, but it fails with Remote connection terminated unexpectedly. I suspect this is because shell access to the server is disabled. (Trying to ssh to it

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-06 Thread Ron Wheeler
On 06/09/2010 2:19 PM, Trevor Harmon wrote: On Sep 6, 2010, at 6:48 AM, Ron Wheeler wrote: Get Nexus up and running and start to enjoy using Maven. I'm sensing a theme here. Anybody reminded of that old joke? Doctor, it hurts when I move my arm like this. Doctor: Then don't move your arm