You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/03/05 14:39:00 UTC

[jira] [Commented] (MANTRUN-230) scp task - remoteFile and sshConfig

    [ https://issues.apache.org/jira/browse/MANTRUN-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17296051#comment-17296051 ] 

Michael Osipov commented on MANTRUN-230:
----------------------------------------

ABI mismatch? Can you provide with {{-X}}?

> scp task - remoteFile and sshConfig
> -----------------------------------
>
>                 Key: MANTRUN-230
>                 URL: https://issues.apache.org/jira/browse/MANTRUN-230
>             Project: Maven Antrun Plugin
>          Issue Type: Bug
>    Affects Versions: 1.8
>            Reporter: Vincenzo Apuzzo
>            Priority: Minor
>
> I used the remoteFile  and  sshConfig attributes in this form :
> <scp trust="true" remoteFile="host:/fileToDownload" localTodir="localFolder/" sshConfig="${user.home}/.ssh/config"/>
> the build fails with this error:
> Caused by: java.lang.NoSuchMethodError: org.apache.tools.ant.BuildException.<init>(Ljava/lang/String;[Ljava/lang/Object;)V
>     at org.apache.tools.ant.taskdefs.optional.ssh.Scp.validateRemoteUri (Scp.java:168)
>     at org.apache.tools.ant.taskdefs.optional.ssh.Scp.setRemoteFile (Scp.java:117)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:498)
>     at org.apache.tools.ant.IntrospectionHelper$AttributeSetter.setObject (IntrospectionHelper.java:1489)
>     at org.apache.tools.ant.IntrospectionHelper.setAttribute (IntrospectionHelper.java:411)
>     at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure (RuntimeConfigurable.java:528)
>     at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure (RuntimeConfigurable.java:464)
>     at org.apache.tools.ant.Task.maybeConfigure (Task.java:202)
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)