[
https://issues.apache.org/jira/browse/MCOMPILER-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated MCOMPILER-577:
--------------------------------------
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.
was:
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 order to be
backwards-compatible the old name should still be considered as alias.
> Rename parameter "forceJavacCompilerUse"
> ----------------------------------------
>
> Key: MCOMPILER-577
> URL: https://issues.apache.org/jira/browse/MCOMPILER-577
> Project: Maven Compiler Plugin
> Issue Type: Improvement
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: next-release
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)