Hi,
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?
Konrad

Reply via email to