Hi Bertrand, > On 25 Jan 2016, at 17:58, Bertrand Delacretaz <[email protected]> wrote: > > Hi, > > On Mon, Jan 25, 2016 at 11:34 AM, Oliver Lietz <[email protected]> wrote: >> ...we should switch to OSGi annotations but not only for versioning.... > > I'd like us to consider backwards compatibility when doing this: if my > code still uses annotation A and we start using B now, code that uses > A should cause loud breakages instead of A being silently ignored.
That will never happen as bnd supports both type of annotations. The only question is whether to still support both (by leaving both artifacts in the class path) or by removing the bndlib dependency from the parent pom (and therefore do no longer allow to use the bnd annotations without explicitly defining bndlib as module dependency). That way we make the build fail in case the bnd annotations are used but not defined as dependency. > > -Bertrand Konrad
