You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2024/02/01 18:56:00 UTC

[jira] [Created] (MCOMPILER-573) Deprecate parameter "compilerVersion"

Konrad Windszus created MCOMPILER-573:
-----------------------------------------

             Summary: Deprecate parameter "compilerVersion"
                 Key: MCOMPILER-573
                 URL: https://issues.apache.org/jira/browse/MCOMPILER-573
             Project: Maven Compiler Plugin
          Issue Type: Improvement
            Reporter: Konrad Windszus


The goal parameter {{compilerVersion}} (https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#compilerVersion) has unclear semantics. It is passed to {{CompilerConfiguration}} in https://github.com/apache/maven-compiler-plugin/blob/c30d0f6a2bf7210ab61996c49dcef0c0fbe207ea/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java#L847 but it is only ever used in {{JavacCompiler}} (https://github.com/search?q=repo%3Acodehaus-plexus/plexus-compiler%20getCompilerVersion&type=code). As that usage is actually incorrect (compare with https://github.com/codehaus-plexus/plexus-compiler/issues/356) it should no longer be used.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)