Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
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).
Attachments
Issue Links
- duplicates
-
MCOMPILER-576 Deprecate parameter "compilerVersion"
- Closed