Closed cvaliente closed 6 years ago
I need some time to fix this problem. For the time being you can fix the problem by setting the version of sshd-core explicitly to a 1.x.x version:
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-core</artifactId>
<version>[1.7.0]</version>
<scope>test</scope>
</dependency>
For Gradle this workaround works:
testCompile("org.apache.sshd:sshd-core:1.7.0") { force = true }
Fixed by 2f6b2ea65a77b2cb1b0aa34f7d05457d986ed294 and available in Fake SFTP Server Rule 2.0.1.
gradle now pulls in sshd-core 2.0.0 as depndency which is not compatible.
./gradlew dependencyInsight --configuration testCompile --dependency sshd
org.apache.sshd:sshd-core:[1,) -> 2.0.0 variant "runtime" --- com.github.stefanbirkner:fake-sftp-server-rule:2.0.0 --- testCompile
with SSHD-815, the sftp component has been moved into its own module and org.apache.sshd.server.subsystem.sftp.SftpSubsystemFactory no longer exists in sshd-core. this project needs to start declaring sshd-sftp as dependency or restrict the version of sshd-core to below 2.0.0