mina-sshd
mina-sshd copied to clipboard
pom: Add compatibility for JDK14
In JDK14 the automatic module name resolution seems not to be sufficient. Specifying the automatic module name explicitly fixes the problem.
Could you please as part of this fix also move the java.nio.file.spi.FileSystemProvider from the sshd-core module to the sshd-common module where the implementation of this provider is located, since in the modular application the following exception will be thrown:
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\Users\V-F\.m2\repository\org\apache\sshd\sshd-core\2.4.0\sshd-core-2.4.0.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.apache.sshd.common.file.root.RootedFileSystemProvider not in module
Could you please as part of this fix also move the java.nio.file.spi.FileSystemProvider from the sshd-core module to the sshd-common module where the implementation of this provider is located, since in the modular application the following exception will be thrown:
Error occurred during initialization of boot layer java.lang.module.FindException: Unable to derive module descriptor for C:\Users\V-F\.m2\repository\org\apache\sshd\sshd-core\2.4.0\sshd-core-2.4.0.jar Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.apache.sshd.common.file.root.RootedFileSystemProvider not in module
Done - see https://github.com/apache/mina-sshd/commit/23773e3832219294852579475834c1536c883303