On Monday 25 January 2016 09:55:19 Konrad Windszus wrote: > Hi, Hi Konrad,
> currently we are relying on the bnd annotations for semantic versioning. > Since OSGi 6.0 there are also official annotations defined in package > “org.osgi.annotation.versioning". This package is provided by <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.annotation</artifactId> > <version>6.0.0</version> > </dependency> > > Since version 3.0 those annotations are also understood by bndlib (used > since maven-bundle-plugin 3.0), see > https://github.com/bndtools/bnd/issues/484 > <https://github.com/bndtools/bnd/issues/484>. Since this would only mean a > compile time dependency requirement on maven-bundle-plugin >= 3.0 I think > we should encourage the switch from one package to the other. WDYT? we should switch to OSGi annotations but not only for versioning. This can be done one by one and needs not to be done for all modules at once (compile time/tooling only). I've done the switch for Scripting Thymeleaf[1] already. But be prepared - bumpy road ahead, see e.g. BND-1030 or BND-1266. Regards, O. [1] https://github.com/apache/sling/blob/trunk/contrib/scripting/org.apache.sling.scripting.thymeleaf/pom.xml > Konrad
