Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-322

Set the JPMS module version

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.8.1
    • Labels:
      None

      Description

      The javac compiler (Java 9+) allows you to set the Java module version. It would be nice if the compiler plugin allows the user to set this value. The default value should be the project version.

      While it is true that the module version is not really used by JPMS, it would be nice if the modules created by Maven does have the version set. It could be useful for debugging for example.

       

      I'm not sure if we need the version only for the compile target or it useful for testCompile as well?

        Attachments

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              plamenttv Plamen Totev
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: