The following issue has been updated:
Updater: Markus Nolte (mailto:[EMAIL PROTECTED])
Date: Fri, 13 Aug 2004 5:19 AM
Comment:
this patch fixed the described issue, I've also added streamGobbler for
executeSimpleCommand and a recursive chmod g+w for the maven.repo.[name].directory
path top level parent dir
Changes:
Attachment changed to MPARTIFACT-38.patch
---------------------------------------------------------------------
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: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-artifact-plugin
Versions:
1.4
Assignee:
Reporter: Markus Nolte
Created: Fri, 13 Aug 2004 5:10 AM
Updated: Fri, 13 Aug 2004 5:19 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]