The following comment has been added to this issue:
Author: Arnaud HERITIER
Created: Mon, 8 Mar 2004 4:57 PM
Body:
Can you replace "tar xUvf" by "tar xvf" ??
Under AIX 4.3.3 the default tar command doesn't support the U option.
Or can you use a property for the tar executable like in dist:deploy, this will allow
to use gtar instead of tar.
Arnaud.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDEPLOY-5&page=comments#action_17397
---------------------------------------------------------------------
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 4:57 PM
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]