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

XMLWordPrintableJSON

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

      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:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: