Hi Piotr, I'm curious about this change. It seems like a fine idea because of the match with the underlying bnd tool. Is there another advantage?
Depending on our experience here, I might switch Apache Commons as well, so I'm interested to how this turns out :-) Gary On Wed, Sep 13, 2023 at 5:12 AM Piotr P. Karwasz <piotr.karw...@gmail.com> wrote: > > Hi, > > As you probably know many of our repos use `maven-bundle-plugin` (from > Apache Felix) to create an OSGI descriptor for all our artifacts. The > exception is `log4j-api-kotlin`, which uses `bnd-maven-plugin`. > > We would like to uniformise the building process and switch to the > **exception** (`bnd-maven-plugin`) because: > * both plugins use BND under the hood and `bnd-maven-plugin` is > released by the same project as BND, > * `bnd-maven-plugin` has a lifecycle coordinated with BND, so it > always uses the newest BND version (no need to manage two > dependencies). > > What do you think about this change? > > Moreover we could think about using BND to generate our JPMS > descriptors in 3.x. These would be guaranteed to be compatible with > our OSGI descriptor (see [1] for an example). > > Piotr > > [1] https://github.com/JCTools/JCTools/pull/370