As part of the 3.x driver re-architecture, we ended up having to split several packages across multiple jar files. Some of the classes are in bson, some are in mongodb-driver-core, and some are in mongodb-driver. The source directory for each contains a package-info.java.
But then when we create the uber-jar, mongo-java-driver, both package-info.java files are included in the sources uber-jar.
We should ensure that there is at most one package-info.java per package in the sources uber-jar.
Affected packages:
- com.mongodb
- com.mongodb.client
- com.mongodb.client.model
- org.bson
- org.bson.io
- org.bson.types