You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by KC Baltz <KC...@Copart.Com> on 2005/11/02 01:25:52 UTC

[m2] Help! scp, sftp deploy is failing

I'm trying to switch our development to Maven2 and I'm having trouble because I can't seem to get scp or sftp to work with Maven.  
 
scp dies because it can't cd to my home directory on the target server (Home directories aren't mounted on that server).  It looks like the following:
 
 
: Uploading: scp://cvs.copart.com/cvs/maven/com/copart/core/core/1.0-SNAPSHOT/core-1.0-20051102.002057-8.jar
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] Error deploying artifact: Error performing commands for file transfer
 
Could not chdir to home directory /export/home/kcbaltz: No such file or directory
 
 
 
sftp fails with the error message, "session is down".  I think I found a JIRA issue related to this.  Is there any progress on a fix?
 
 
Help please!
 
K.C.

Re: [m2] Help! scp, sftp deploy is failing

Posted by Brett Porter <br...@gmail.com>.
Please file a bug on the home directory thing. No progress on the
"session is down" issue just yet, unfortunately.

There is another alternative: scpexe, or standard ftp. See the
documentation for details.

- Brett

On 11/2/05, KC Baltz <KC...@copart.com> wrote:
> I'm trying to switch our development to Maven2 and I'm having trouble because I can't seem to get scp or sftp to work with Maven.
>
> scp dies because it can't cd to my home directory on the target server (Home directories aren't mounted on that server).  It looks like the following:
>
>
> : Uploading: scp://cvs.copart.com/cvs/maven/com/copart/core/core/1.0-SNAPSHOT/core-1.0-20051102.002057-8.jar
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] Error deploying artifact: Error performing commands for file transfer
>
> Could not chdir to home directory /export/home/kcbaltz: No such file or directory
>
>
>
> sftp fails with the error message, "session is down".  I think I found a JIRA issue related to this.  Is there any progress on a fix?
>
>
> Help please!
>
> K.C.
>
>

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