In the Maven "pom.xml" there are several "optional" dependencies like "jsch":
In the "Import-Package" section of the MANIFEST.MF it should also be "optional" like this:
At the moment all dependencies are always required. This is a problem if you want to use VFS in an OSGI environment as you have to install ALL dependencies and not only the ones you really need.
The mechanism creating the MANIFEST should be adjusted to reflect the optional dependencies also in the MANIFEST. (Unfortunatelly this could mean to list all packages which should be optional).