[JAVA-3566] Resolve difference in META-INF/MANIFEST.MF files between 3.x and 4.x Created: 20/Dec/19  Updated: 28/Oct/23  Resolved: 14/Jan/20

Status: Closed
Project: Java Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: John Stewart (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to JAVA-4381 mongodb-driver-legacy MANIFEST.MF sho... Closed

 Description   

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.


 Comments   
Comment by Githook User [ 14/Jan/20 ]

Author:

{'name': 'John Stewart', 'email': 'john.stewart@mongodb.com', 'username': 'jstewart-mongo'}

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

JAVA-3566
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/7a3fbd7c164d136d8b782063e67baa0b75687fed

Generated at Thu Feb 08 08:59:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.