[ http://jira.codehaus.org/browse/WAGON-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=173004#action_173004
]
Brett Porter commented on WAGON-258:
------------------------------------
ok, if you *also* add the SCP wagon as well like this:
{code:xml}
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-5</version>
</extension>
{code}
it should work. This stops the extension initialization from crashing making sure the new
ssh-external is loaded properly. I'll file a bug in Maven for this.
> SSH / SCP -o options should be quoted
> -------------------------------------
>
> Key: WAGON-258
> URL: http://jira.codehaus.org/browse/WAGON-258
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-ssh-external
> Affects Versions: 1.0-beta-5
> Environment: Maven 2.1.0 and Java 1.5.0_15
> Reporter: Timothy Riley
>
> I'm currently using Reflection Secure IT, which requires all SSH / SCP -o options
> be placed in quotations unfortunately I cannot deviate from this technology.
> The problem is that ScpExternalWagon.java places the BatchMode option as an
> argument without quotes resulting in a failing SSH command.
> Line 251 of ScpExternalWagon.java
> cl.createArgument().setValue( "BatchMode yes" );
> Results in...
> ssh -o BatchMode yes [REST OF COMMAND]
> What I need is...
> ssh -o "BatchMode yes" [REST OF COMMAND]
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|