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/03/08 12:18:28 UTC
[jira] Closed: (MPDEPLOY-5) support for Putty in site:sshdeploy
Message:
The following issue has been closed.
Resolver: Emmanuel Venisse
Date: Mon, 8 Mar 2004 6:18 AM
Applied.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDEPLOY-5
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPDEPLOY-5
Summary: support for Putty in site:sshdeploy
Type: Improvement
Status: Closed
Priority: Major
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-deploy-plugin
Assignee:
Reporter: Fabian Ritzmann
Created: Tue, 11 Mar 2003 8:26 AM
Updated: Mon, 8 Mar 2004 6:18 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.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