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

Set the JPMS module version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.8.1
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: