Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Mon, 4 Aug 2003 10:07 AM

Use pscp
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-329


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-329
    Summary: support for Putty in site:sshdeploy
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: WON'T FIX

 Time Spent: Unknown
  Remaining: 0 minutes

    Project: maven
 Components: 
             plugin-xdoc
   Fix Fors:
             1.0-rc1

   Assignee: 
   Reporter: Fabian Ritzmann

    Created: Tue, 11 Mar 2003 8:26 AM
    Updated: Mon, 4 Aug 2003 10:07 AM
Environment: Windows 2000
Putty

Description:
My ssh client (Putty) does not get along with the order of parameters used in the 
sshdeploy goal. Also, I need to be able to pass additional options. (See also 
maven-324, 325 and 326). This here works well for me in the plugin.jelly:


    <!-- Make sure the destination directory exists before trying to copy -->
    <exec dir="." executable="${maven.ssh.executable}">
      <arg line="${maven.ssh.args} -l ${maven.username} ${pom.siteAddress} 'mkdir -p 
${maven.homepage}'"/>
    </exec>

    <exec dir="${maven.build.dir}" executable="${maven.scp.executable}">
      <arg line="${maven.ssh.args} ${maven.final.name}-site.tar.gz [EMAIL 
PROTECTED]:${maven.homepage}"/>
    </exec>

    <exec dir="." executable="${maven.ssh.executable}">
      <arg line="${maven.ssh.args} -l ${maven.username} ${pom.siteAddress} 'cd 
${maven.homepage};gunzip ${maven.final.name}-site.tar.gz;tar xUvf 
${maven.final.name}-site.tar;chmod -R g+u *;rm ${maven.final.name}-site.tar'"/>
    </exec>



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to