Yes, those dependencies can be left out. The optional=True seems to be missing for one of the libs. If you get a new manager it will not load the provide if it can’t load the dependencies.
If you want you could contribute a jira ticket and a patch. Thanks for notifying us. Gruss Bernd -- http://bernd.eckenfels.net ________________________________ Von: Xavier Courangon <xavier.couran...@gmail.com> Gesendet: Monday, May 16, 2022 10:35:18 AM An: user@commons.apache.org <user@commons.apache.org> Betreff: [vfs] About hadoop-hdfs-client dependency Hello, We are using commons-vfs2 to create files in memory. However we are wondering why hadoop-hdfs-client dependency is not optional ? We don't really need support for HDFS in our case. Moreover it brings these additional transitive dependencies (vfs 2.9.0): - org.apache.hadoop : hadoop-hdfs-client : 3.3.1 - com.squareup.okhttp : okhttp : 2.7.5 - com.squareup.okio : okio : 1.6.0 Can we explicitly exclude hadoop-hdfs-client dependency without fear of side effects ? If so, shouldn't this dependency be optional ? Thanks Xavier C