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 2022/04/15 12:47:00 UTC

[jira] [Commented] (WAGON-616) Deprecate Wagon SSH Provider

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

Michael Osipov commented on WAGON-616:
--------------------------------------

Thanks, yout gratitude is truly appreciated. As for using SCP. I have been using it for years with SF.net, so I know that it works. Have a look at my personal project POMs:

* https://github.com/michael-o/michael-o-parent/commit/26c2a9b5948a4760401ec2b76fc7a997f8ef8bbd
* https://github.com/michael-o/tomcatspnegoad/commit/5e2e4d3e64d1f4a802c62475ea23fafa29df81f0

Here is the build extension you need to have: 
* https://maven.apache.org/wagon/wagon-providers/wagon-ssh-external/index.html
* https://github.com/apache/maven-wagon/blob/a40b7196f72f23a68b765c0a9a3c6984edbc221d/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/ssh/external/ScpExternalWagon.java#L52-L56

The protocol must be {{scpexe}} since this is used to lookup the protocol: https://github.com/mojohaus/wagon-maven-plugin/blob/264cdbd6e062656afcb368e4e1b84ff6a5db6be6/src/main/java/org/codehaus/mojo/wagon/shared/DefaultWagonFactory.java#L123-L140

> Deprecate Wagon SSH Provider
> ----------------------------
>
>                 Key: WAGON-616
>                 URL: https://issues.apache.org/jira/browse/WAGON-616
>             Project: Maven Wagon
>          Issue Type: Task
>          Components: wagon-ssh
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 3.5.0
>
>
> This provider has serious implications and implementation issues:
> - JSch http://www.jcraft.com/jsch/ failed to provide a source repository, accept contributions and address issues.
> - Too complex and low level.
> - It is disputed whether this is open source at all.
> The sshexe ({{scp}}) provider remains until someone wants to write something on top of Apache MINA SSHD.
> We are deprecating this provider to be removed in 4.0.0.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)