Can anyone please tell me what is wrong with my build.gradle file? It seems to me I have followed the docs correctly but I always get error message:
Failed to deploy artifacts/metadata: No connector available to access repository remote (scp://dev.mysite.net.au/srv/repo/snapshots) of type default using the available factories WagonRepositoryConnectorFactory
@Adrian_Kelly is there any reason this fix doesn’t get into Gradle 2.7 directly? It is still in release-candidate phase so it should be possible to add things to this release. Considering this is blocking deploying on these Gradle versions completely (I don’t know any workaround, is there one?) it should get fixed ASAP.
I have the same problem, but with webdav. In gradle 2.4 it works fine but with 2.5 or 2.7 it complains:
Caused by: org.sonatype.aether.transfer.NoRepositoryConnectorException:
No connector available to access repository remote (dav:https://xxxx/private/release/)
of type default using the available factories WagonRepositoryConnectorFactory
I ran into this same bug, and I couldn’t figure it out, until I saw that bug report. I then switched to 2.8rc1 and I can confirm, it works fine and easily connects over SSH. There is one quirk. If you use wagon-ssh, it does not like the known_hosts file format used by modern OpenSSH client. For me the easiest workaround was to use wagon-ssh-external and use scpexec as the schema.
I have the same problem and I want to update my gradle version to latest. Is there a way to upload the version via build.gradle or IntelliJ? I can’t find a response in the web.