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/09/28 08:32:54 UTC
[jira] Updated: (MPARTIFACT-38) scpexe with pscp and plink fails with multiple args
The following issue has been updated:
Updater: Brett Porter (mailto:brett@codehaus.org)
Date: Tue, 28 Sep 2004 2:32 AM
Changes:
Fix Version changed to 1.4.1
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MPARTIFACT-38?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPARTIFACT-38
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPARTIFACT-38
Summary: scpexe with pscp and plink fails with multiple args
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-artifact-plugin
Fix Fors:
1.4.1
Versions:
1.4
Assignee: Brett Porter
Reporter: Markus Nolte
Created: Fri, 13 Aug 2004 5:10 AM
Updated: Tue, 28 Sep 2004 2:32 AM
Environment: win2k, j2re1.4.2_05, maven-1.0
Description:
defining more than one attribute in maven.repo.[name].ssh.args or maven.repo.[name].scp.args leads to an unknown option error in pscp, plink fails silently.
example:
maven.repo.[name].scp.args=-2 -P 50022
ERROR>pscp: unknown option "-2 -P 50022"
ERROR> try typing just "pscp" for help
assigning ports with maven.repo.[name].port=50022 doesn't help because plink and pscp both uses the "-P" to define the port
the problem is the runtime.exec call in ScpExeDeployer who uses a String[] instead of String
using a batch file as workaround makes the args property obsolete
---------------------------------------------------------------------
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