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

Resolve difference in META-INF/MANIFEST.MF files between 3.x and 4.x

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0
    • Affects Version/s: None
    • Component/s: Build
    • None

      A non-exhaustive list of differences, likely introduced by the use of the new bnd plugin as part of the Gradle 6 upgrade:

      1. The Bundle-SymbolicName changed. For example, the one for bson changed from org.mongodb.bson to just bson and the one for driver-sync changed from org.mongodb.driver-sync to mongodb-driver-sync.
      2. All the exported packages have version 4.0.0 even though the Bundle-Version} is {{4.0.0.SNAPSHOT. Should make sure that for the beta the versions are properly marked as beta1.
      3. driver-legacy is quite different. There is a new Private-Package entry with the packages com.mongodb,com.mongodb.client.jndi,com.mongodb.client.model,com.mongodb.gridfs. This kind of makes sense though, because those packages are also included in driver-core module and you can't split packages across modules. So driver-legacy can't be a proper OSGI (or Java) module. One option is to just not include OSGI entries for driver-legacy at all. I thought that we weren't for 3.x but I was clearly wrong about that.

            Assignee:
            john.stewart@mongodb.com John Stewart (Inactive)
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: