Hi all, i am using the module system for a while now and have some problems with removing dependencies from the classpath. In the past i could just exclude them from the maven project and everything was working fine.
Now with modules enabled i get an error some modules are missing and i have to workaround with empty modules. You may ask why i want to remove some modules, there are several reasons: - i have to do complex FOSS licences checks / health checks for each dependency i use, so i try to minimize them - deploy smaller container images and lower the surface for supply chain attacks - minimize the efforts to update depencencies i do not use (and cooperate toolchain will complain i should upgrade) I know it is kind of risky to exclude them, but especially when using open source depencencies there are alot projects which do not have adopted the module system at all and do miss a structure which does allow the automatic modules to work well. Is there a better way to exclude these modules from the module system than creating empty dummies? Kind regards Jörg