maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <>
Subject [jira] Commented: (WAGON-258) SSH / SCP -o options should be quoted
Date Wed, 15 Apr 2009 05:32:13 GMT


Brett Porter commented on WAGON-258:

it seems overriding the ssh wagon works, but not the ssh-external wagon due to the following:

[DEBUG] No wagons found in the extensions or other internal error: Unable to lookup component
'org.apache.maven.wagon.Wagonscp', it could not be started
org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup
component 'org.apache.maven.wagon.Wagonscp', it could not be started
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(
Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed
for the field knownHostsProvider in object of type org.apache.maven.wagon.providers.ssh.jsch.ScpWagon
        at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(

I'll continue investigating to see if this is a problem in the metadata of the external wagon.

> SSH / SCP -o options should be quoted
> -------------------------------------
>                 Key: WAGON-258
>                 URL:
>             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 places the BatchMode option as an
> argument without quotes resulting in a failing SSH command.
> Line 251 of
>    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:
For more information on JIRA, see:


View raw message