You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/06 16:31:04 UTC

[jira] Closed: (MPARTIFACT-23) scp dos not work at all

Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Tue, 6 Jul 2004 10:30 AM

added -o
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-23

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-23
    Summary: scp dos not work at all
       Type: Bug

     Status: Closed
   Priority: Critical
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Versions:
             1.1

   Assignee: Brett Porter
   Reporter: Joerg Schaible

    Created: Mon, 5 Jul 2004 10:49 AM
    Updated: Tue, 6 Jul 2004 10:30 AM
Environment: Source: WIN XP, Cygwin; Target: SuSE Linux 7.1; Maven 1.0 RC4

Description:
I cannot get the scp protocol to work at all. Obviously support for ssh-agent is missing (MPARTIFACT-22) and I can only connect at all if I set the username, password, passphrase and privatekey of the repo. Unfortunately the deployment still fails with:

====== %< ==========
jar:deploy:
    [echo] maven.repo.list is set - using artifact deploy mode
Will deploy to 1 repository(ies): elsag
Deploying to repository: elsag
host: 'es3.elsag.de'
Using private key: C:\Dokumente und Einstellungen\jos\.ssh\id_dsa
Deploying: C:\Work\Projects\commons\test\project.xml-->elsag-commons/poms/elsag-test-0.2-SNAPSHOT.pom
deployNotCompressed=false
Executing command: scp -t /devel/maven/home/public_html/repo/maven-deployer-62294.zip
Executing command: unzip -u /devel/maven/home/public_html/repo/maven-deployer-62294.zip -d /devel/maven/home/public_html/repo

Failed to deploy to: elsag Reason: Cannot execute remote command: unzip -u /devel/maven/home/public_html/repo/maven-deployer-62294.zip -d /devel/maven/home/public_html/repo

org.apache.maven.deploy.exceptions.TransferFailedException: Cannot execute remote command: unzip -u /devel/maven/home/public_html/repo/maven-deployer-62294.zip -d /devel/maven/home/public_html/repo
====== %< ==========

Executing the commend directly, it is obvious:

====== %< ==========
$ ssh es3 unzip -u /devel/maven/home/public_html/repo/maven-deployer-62294.zip -d /devel/maven/home/public_html/repo
Archive:  /devel/maven/home/public_html/repo/maven-deployer-62294.zip
replace /devel/maven/home/public_html/repo/elsag-commons/poms/elsag-test-0.2-SNAPSHOT.pom? [y]es, [n]o, [A]ll, [N]one, [r]ename: Killed by signal 2.
====== %< ==========

Please use -uo as option for unzip! Overwriting is quite common for SNAPSHOT :)

-- Jörg



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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