A non-exhaustive list of differences, likely introduced by the use of the new bnd plugin as part of the Gradle 6 upgrade:
- 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.
- 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.
- 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.
- is related to
-
JAVA-4381 mongodb-driver-legacy MANIFEST.MF should not include Automatic-Module-Name
- Closed