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

Improve documentation for setting the Java version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Setting the Java version is documented here:
      https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

      Proposal for improvement:

      1. Make this documentation more prominent. This should be documented on the "Usage" page.
        In my experience, the Java version is set in every Maven project. Because the default version of 1.6 is quite old and the default version is also not obvious.
      2. In the documentation, make -release as the preferred way to set the Java version >= 9. Keep the documentation of -source/-target for Java version <= 8

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              arendvr.com Arend v. Reinersdorff
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: