You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bo...@werken.com on 2003/03/11 15:26:55 UTC

[maven-bug] Created: (MAVEN-329) support for Putty in site:sshdeploy

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.werken.com/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: Assigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: maven
  Component: plugin-xdoc

   Assignee: Jason van Zyl
   Reporter: Fabian Ritzmann

    Created: Tue, 11 Mar 2003 8:26 AM
    Updated: Tue, 11 Mar 2003 8:26 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 ${maven.username}@${pom.siteAddress}:${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.werken.com/Administrators.jspa

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