I’m trying to setup “uploadArchives” on a Windows environment. Thereby, I read http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html and wondered whether it’s also possible in gradle to use “plink” and “pscp” instead of “ssh” and “scp”. The reason for this question is that plink and pscp aren’t drop-in replacements for ssh /scp.
The uploading is not delegated to ‘ssh’ or ‘scp’. It’s handled by code internally.
Therefore, it won’t be possible to use these other tools.
If I understand Table 47.3 “Protocol jars for Maven deployment” (at http://www.gradle.org/docs/current/userguide/maven_plugin.html) correctly, it is possible to use “org.apache.maven.wagon:wagon-ssh-external:2.2”, which calls “scp” directly. However, pscp does not understand the parameter “-o”.
Right, you’d likely have to write your own wagon implementation to integrate with your tools of choice.