The following comment has been added to this issue:

     Author: Tore Green
    Created: Wed, 10 Nov 2004 6:14 AM
       Body:
I'm sorry for being a pain, but according to 
http://cvs.apache.org/viewcvs.cgi/maven-plugins/artifact/src/main/org/apache/maven/deploy/deployers/ExternalDeployer.java?rev=1.5&view=markup

you are using exec(String, String[])

Did you notice I am talking about external:// ie. the ExternalDeployer class 
(your first comment mentiond bugs in the scp and ssh areas.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-44?page=comments#action_26280

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-44

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-44
    Summary: external:// broken
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: INCOMPLETE

 Original Estimate: 5 minutes
 Time Spent: Unknown
  Remaining: 5 minutes

    Project: maven-artifact-plugin
   Versions:
             1.4.1

   Assignee: 
   Reporter: Tore Green

    Created: Wed, 10 Nov 2004 5:38 AM
    Updated: Wed, 10 Nov 2004 6:14 AM
Environment: Win2K, Maven v1.0

Description:
The ExternalDeployer does not work because it uses an incorrect call to 
Runtime.exec().

To fix this problem, put cmd and params in the same String[] and use the 
exec(String[]) version instead:

String[] params = {cmd, request.getSrcFile(), request.getDestFile()};
//...
Process process = Runtime.getRuntime().exec(params);


---------------------------------------------------------------------
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]

Reply via email to