Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-bundle-plugin-2.3.7
Description
BND issue reference "https://github.com/bndtools/bnd/issues/136":
------------------------------------------------------------------------------------------------------------------------------------
When using DS annotations, bnd will generate component description XML with invalid namespace values.
The version segment of the namespace value must start with 'v' as in
http://www.osgi.org/xmlns/scr/v1.1.0
bnd is generating them without the 'v' as in
http://www.osgi.org/xmlns/scr/1.1.0
The incorrect namespace causes DS to not recognize the generated component descriptions.
------------------------------------------------------------------------------------------------------------------------------------
Maven-Bundle-Plugin has references to the old "bndlib 1.50.0"(why is no newer version available at the maven central repository?), which include the above issue.
Fixed in Bundle-Plugin 2.4.0-SNAPSHOT:
https://repository.apache.org/content/repositories/snapshots/org/apache/felix/maven-bundle-plugin/2.4.0-SNAPSHOT/