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

Ensure that at most one package-info.java per package is included in mongo-java-driver sources jar

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.4.1
    • Affects Version/s: 3.0.0
    • Component/s: Build
    • None
    • Fully Compatible

      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

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: