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

Rename parameter "forceJavacCompilerUse"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.13.0
    • None

    Description

      The name forceJavacCompilerUse (https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#forceJavacCompilerUse) is confusing, because it only determines which API to use to access javac, but doesn't actually affect the compiler being used (which is determined via compilerId or toolchains).

      I would propose to rename that to forceLegacyJavacApi and clarify that this currently only has an effect on compiler javac (in case it is not forked). In order to be backwards-compatible the old name should still be considered as alias.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: