The optional bit I hope can be solved by refactoring Maven modules to have zero optional dependencies.
Gary On Thu, Dec 7, 2023, 10:32 AM Piotr P. Karwasz <piotr.karw...@gmail.com> wrote: > Hi Gary, > > On Thu, 7 Dec 2023 at 15:46, Gary Gregory <garydgreg...@gmail.com> wrote: > > > > Note that there is also the Maven moditect plugin but I don't know if it > > deals with OSGi which brings up the issue of how much we should care > about > > OSGi (I don't know). > > We can disable JPMS descriptor generation in BND and switch to > Moditect. From what I have seen it has less problems than BND 6.x, > since it uses official tools like `jdeps` to compute module names and > module dependencies. > > Optional dependencies **still** require a configuration override, but > we probably can not do anything about that. > > Piotr >