Thank you, I'll try that. When I was using scp, I was getting an error - "Error while deploying metadata". Did you ever see this problem? The error:
... [INFO] [deploy:deploy] was able to get the following files uploaded before the error: [INFO] [deploy:deploy] host - private computer system & equipment: Uploading: scp://host/com/werner/modules/1.0-QA/modules-1.0-QA.pom ... host - private computer system & equipment: host - private computer system & equipment: Uploading: scp://host/com/werner/modules/1.0-QA/modules-1.0-QA-javadoc.pom ... [INFO] [deploy:deploy] host - private computer system & equipment: Uploading: scp://host/com/werner/util/1.0-QA/util-1.0-QA.jar ... host - private computer system & equipment: host - private computer system & equipment: Uploading: scp://host/com/werner/util/1.0-QA/util-1.0-QA-javadoc.jar ... host - private computer system & equipment: Uploading: scp://host/com/werner/util/1.0-QA/util-1.0-QA-sources.jar ... [INFO] [deploy:deploy] host - private computer system & equipment: Uploading: scp://host/com/werner/exception/1.0-QA/exception-1.0-QA.jar ... 67K uploaded [INFO] Retrieving previous metadata from M2_repo host - private computer system & equipment: [INFO] Uploading repository metadata for: 'artifact com.werner:exception' host - private computer system & equipment: [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ---------------------------------------------------------------------------- [INFO] Error installing artifact's metadata: Error while deploying metadata: Did receive proper ACK: '1' Thank you, Michael -----Original Message----- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 3:05 PM To: Maven Users List Subject: Re: scpexe from win XP to W2K I dont know the magic behind scpexe, but scp comes with cygwin work for me. ( I have %CYGWIN_HOME%\bin in my path thou ) -D On 12/7/05, Michael Fiedler <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to use scpexe instead of scp. The client and the host both > have OpenSSH installed. > > To guide me through the process, I am using > http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html. > > However, I am still getting an error: > ... > [INFO] [deploy:deploy] > [INFO] Retrieving previous build number from M2_repo_scpexe > done > Uploading: > scpexe://host_name/com/werner/modules/1.5.2.1-SNAPSHOT/modules-1.5.2.1-20051207.201409-1.pom > [INFO] > ---------------------------------------------------------------------------- > [ERROR] BUILD ERROR > [INFO] > ---------------------------------------------------------------------------- > [INFO] Error deploying artifact: Exit code: 1 - /usr/bin/ssh: No such file > or directory > lost connection > > My question in two forms: > 1. What is causing it to look for /usr/bin/ssh (instead of plink)? > 2. If I did not provide ssh as an sshExecutable, why is it trying > to use ssh? > > > The environment is: > Win XP, sp2 client running OpenSSH, Putty, jdk 5.x, Maven2, > <extension><artifactId>wagon-ssh-external</artifactId><version>1.0-alpha-5 > </version>... > settings file contains: > <sshExecutable>plink</sshExecutable> > path includes OpenSSH\bin & ...\Putty > W2K host, running OpenSSH > > My file structure is: > pom.xml -- executed from here > -apps > |_pom.xml > -modules > |_pom.xml > |_mod1 > |_mod2 > |_mod3 > |_mod4 > > > Thank you, > Michael Fiedler > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]