You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2026/07/27 11:19:07 UTC
[PR] Remove deprecated setCompilerVersion() call [maven-compiler-plugin]
elharo opened a new pull request, #1088:
URL: https://github.com/apache/maven-compiler-plugin/pull/1088
`CompilerConfiguration.setCompilerVersion()` is deprecated and no longer evaluated by the underlying compilers. The `compilerVersion` field in `AbstractCompilerMojo` is already `@Deprecated` with this Javadoc:
> This parameter is no longer evaluated by the underlying compilers, instead the actual version of the `javac` binary is automatically retrieved.
This removes the no-op call to eliminate the deprecation warning while keeping the `@Deprecated` field for backward compatibility — users who still set `maven.compiler.compilerVersion` will get a deprecation warning but not a build error."
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Remove deprecated setCompilerVersion() call [maven-compiler-plugin]
Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo closed pull request #1088: Remove deprecated setCompilerVersion() call
URL: https://github.com/apache/maven-compiler-plugin/pull/1088
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org