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

OSGi Manifest is incorrect

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0
    • Affects Version/s: 2.4
    • Component/s: None
    • None
    • Environment:
      OSGi / Java

      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?

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 30 minutes Remaining Estimate - 3 hours, 30 minutes
                3h 30m
                Logged:
                Time Spent - 30 minutes Remaining Estimate - 3 hours, 30 minutes
                30m