Uploaded image for project: 'Commons Logging'
  1. Commons Logging
  2. LOGGING-165

Add Automatic-Module-Name Manifest Header for Java 9 compatibility

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.3.0
    • None

    Description

      Ading modularity headers so that other module can import it

      My project using commons-logging as dependency.
      When I use maven build my project. shows following warning:

      [INFO] — maven-compiler-plugin:3.7.0:compile (default-compile) @ redis-replicator —
      [WARNING] ********************************************************************************************************************
      [WARNING] * Required filename-based automodules detected. Please don't publish this project to a public artifact repository! *
      [WARNING] ********************************************************************************************************************

      The root cause is commons-logging-1.2 is not a standard java 9 module(miss module-info.java).

      Env:
      java version "9"
      Java(TM) SE Runtime Environment (build 9+181)
      Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              leon_a 陈宝仪
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: