Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-272

OSGi Manifest is incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.8.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      OSGi / Java

      Description

      The OSGi bundle MANIFEST.MF file looks incorrect:

      Bundle-Name: MongoDB
      Bundle-SymbolicName: com.mongodb
      Bundle-Version: 2.1.0
      Export-Package: com.mongodb, com.mongodb.io, com.mongodb.util, com.mon
      godb.gridfs, org.bson, org.bson.util, org.bson.types, org.bson.io

      Shouldn't that be 2.4.0?

      Please also note that (odd enough) the bundle version number is not used as a default version for exported packages that do not explicitely specify an export version. As a consequence one can not import these packages with a well-defined version range. Both issues require me to repackage this bundle, which also creates a potential for deployment duplication.

      Say, do you plan to provide an Equinox p2 repository for your OSGi bundles?

        Attachments

          Activity

            People

            Assignee:
            bryan.reinero Bryan Reinero
            Reporter:
            stepper Eike Stepper
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: