The OSGi metadata has been improved, using the Bnd tool (http://www.aQute.biz/Code/Bnd) to generate it rather than maintaining a MANIFEST.MF file by hand.
Improved OSGi manifest using Bnd.
Used the Bnd tool (http://www.aQute.biz/) to generate the OSGi
manifest rather than maintaining it by hand.
Merge branch 'upstream'
Added source to bundle JAR
+1 Please merge these changes. It's really not possible to use the driver in an OSGi environment without hand-editing the manifest in the jar (adding the versions to the exported packages). I'm testing with Virgo, and can provide a simple client to test this if needed.
I just merged Neil's af38e1c to a branch made from the stable r2.6.3, and the driver works well in Virgo 2.1.1.
The only hassle is to manually update the version in mongo.bnd; but that's much easier than maintaining the manifest by hand.
Closing old pull requests. If the requirement is still valid, please feel free to submit a new pull request against the current driver code.