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

Name driver modules using Automatic-Module-Name

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.0
    • Affects Version/s: None
    • Component/s: Packaging
    • Labels:
      None

      Until all the driver's dependencies commit to names for their respective modules, the driver can not safely create a module-info.jar file that requires those modules. Currently the driver depends on SLF4J and Netty, and neither have yet released with module names (though SLF4J has a beta that is modularized).

      But we can still make progress and help the community by adding an Automatic-Module-Name entry to the manifest for each jar file. This commits the driver to a set of module names that downstream dependencies can rely on when defining their own modules, and once the driver's dependencies have done the same, we can consider adding module-info.java into the mix.

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

              Created:
              Updated:
              Resolved: