maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <>
Subject [jira] Moved: (WAGON-195) ssh command executor exits too fast sometimes.
Date Wed, 14 May 2008 07:37:29 GMT


Brett Porter moved WAGONSSH-17 to WAGON-195:

    Affects Version/s:     (was: 1.0-alpha-5)
        Fix Version/s:     (was: 1.0-alpha-5)
          Component/s:     (was: wagon-ssh)
                  Key: WAGON-195  (was: WAGONSSH-17)
              Project: Maven Wagon  (was: wagon-ssh)

> ssh command executor exits too fast sometimes.
> ----------------------------------------------
>                 Key: WAGON-195
>                 URL:
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>         Environment: maven running on win2k3 deploying to Red Hat linux kernel 2.6.9.
>            Reporter: md
>            Assignee: Brett Porter
>            Priority: Blocker
>             Fix For: 1.0-alpha-5
>         Attachments:
> I am creating this new issue since i don't have permissions to re-open MNG-476
> I created a plaing vanilla project and tried to deploy to my repository. I did not see
the site files deployed to the repository.
> Looking at the code, I noticed 3 problems:
> 1. The commands to create the directories has extra slashes. This caused problems with
file uploads.
> In, line 264: While initializing the mkdirCmd, the code should check if
basedir endsWith a trailing '/' before appending another one. I have attached the file since
i i am not sure of the fix. There are other places in the code, but this one fixed my problem
> 2. Maven returns too early while executing the unzip command. My hack was a Thread.sleep(200)
call right after the 
> channel.connect();
> call in ScpWagon.executeCommand. This is less than ideal. It should be deterministic.
> 3. The unzip command does not capture the error output stream. It should be:
> cmd = " cd " + basedir + ";" + unzipCommand + " " + zipFile.getName() + " >scpdeploymojo.log
> in line 156 of I am not sure if this last item should be in a
separate defect. Let me know and I will create another one.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message