Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3601

Incorrect namespace in component XML for DS Annotations

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    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/

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            schlegel11 Marcel Schlegel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment