Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4037

make qpid jar OSGi friendly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Java Build
    • None

    Description

      qpid jar currently isn't OSGi friendly, so for those who wanna use it in OSGi container, must wrap it with tool like bnd/maven-bundle-plugin. Apache Servicemix always wrap 3rd party jars which isn't OSGi friendly, you can see we've done it for lots of jars here[1], more specifically for several qpid versions[2]. Though we may keep this way doing it, the problem is that we need do it for every new released version for 3rd party jars, more importantly we need ensure other Apache projects communities are aware of we're doing it.

      In Servicemix we just wrap qpid 0.16, issues to track it in Servicemix is[3].

      We hope Apache QPID can offer OSGi friendly jars, in most cases, it's should be straightforward, as it just need add OSGi metadata headers to MANIFEST.MF, this could be done easily with maven-bundle-plugin if build with maven. There's also some other practice should be followed like different modules shouldn't share same package(avoid split pacakge).
      thanks

      [1]http://repo2.maven.org/maven2/org/apache/servicemix/bundles
      [2]http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.qpid/
      [3]https://issues.apache.org/jira/browse/SMX4-1148

      Attachments

        Activity

          People

            Unassigned Unassigned
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: