[ 
https://issues.apache.org/jira/browse/MCOMPILER-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated MCOMPILER-573:
--------------------------------------
    Description: 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 be 
deprecated (and finally removed).  (was: 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.)

> 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
>            Priority: Major
>
> 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 be 
> deprecated (and finally removed).



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

Reply via email to