You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@maven.apache.org by Slawomir Jaranowski <sj...@apache.org> on 2024/03/18 18:20:02 UTC
[ANN] Apache Maven Compiler Plugin 3.13.0 Released
The Apache Maven team is pleased to announce the release of the Apache
Maven Compiler Plugin, version 3.13.0
The Compiler Plugin is used to compile the sources of your project.
https://maven.apache.org/plugins/maven-compiler-plugin/
You should specify the version in your project's plugin configuration:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
</plugin>
You can download the appropriate sources etc. from the download page:
https://maven.apache.org/plugins/maven-compiler-plugin/download.cgi
Release Notes - Maven Compiler Plugin - Version 3.13.0
** Bug
* [MCOMPILER-548] - JDK 21 throws annotations processing warning that
can not be turned off
** New Feature
* [MCOMPILER-582] - Automatic detection of release option for JDK < 9
* [MCOMPILER-583] - Require Maven 3.6.3
** Improvement
* [MCOMPILER-570] - Javadoc: Add link to javac references from JDK17
* [MCOMPILER-574] - AbstractCompilerMojo::execute should propagate
exception cause
* [MCOMPILER-576] - Deprecate parameter "compilerVersion"
* [MCOMPILER-577] - Rename parameter "forceJavacCompilerUse"
** Task
* [MCOMPILER-584] - Refresh page - Using Non-Javac Compilers
* [MCOMPILER-585] - Refresh plugins versions in ITs
** Dependency upgrade
* [MCOMPILER-575] - Bump plexus-compiler to 2.15.0
Enjoy,
-The Apache Maven team
Re: [ANN] Apache Maven Compiler Plugin 3.13.0 Released
Posted by Slawomir Jaranowski <s....@gmail.com>.
pon., 18 mar 2024 o 23:35 Mark Derricutt <ma...@talios.com> napisał(a):
> Interesting - I just hit:
>
> Execution default-compile of goal
> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile failed: An
> API incompatibility was encountered while executing
> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile:
> java.lang.NoSuchMethodError:
>
> org.codehaus.plexus.compiler.javac.JavacCompiler.buildCompilerArguments(Lorg/codehaus/plexus/compiler/CompilerConfiguration;[Ljava/lang/String;)[Ljava/lang/String;
> [ERROR] -----------------------------------------------------
> [ERROR] realm =
> plugin>org.apache.maven.plugins:maven-compiler-plugin:3.13.0
> [ERROR] strategy =
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
>
> file:/Users/amrk/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/3.13.0/maven-compiler-plugin-3.13.0.jar
> [ERROR] urls[1] =
> file:/Users/amrk/.m2/repository/org/ow2/asm/asm/9.6/asm-9.6.jar
> [ERROR] urls[2] =
>
> file:/Users/amrk/.m2/repository/org/codehaus/plexus/plexus-compiler-javac-errorprone/2.8.6/plexus-compiler-javac-errorprone-2.8.6.jar
>
>
Please also try to upgrade plexus-compiler-javac-errorprone to version
2.15.0
Without an example of your configuration I only guess.
> on most of my projects. Using Mvn 3.9.6
>
>
>
>
> --
> "Great artists are extremely selfish and arrogant things" — Steven Wilson,
> Porcupine Tree
>
>
> On Tue, Mar 19, 2024 at 7:20 AM Slawomir Jaranowski <
> sjaranowski@apache.org>
> wrote:
>
> > The Apache Maven team is pleased to announce the release of the Apache
> > Maven Compiler Plugin, version 3.13.0
> >
> > The Compiler Plugin is used to compile the sources of your project.
> >
> > https://maven.apache.org/plugins/maven-compiler-plugin/
> >
> > You should specify the version in your project's plugin configuration:
> >
> > <plugin>
> > <groupId>org.apache.maven.plugins</groupId>
> > <artifactId>maven-compiler-plugin</artifactId>
> > <version>3.13.0</version>
> > </plugin>
> >
> > You can download the appropriate sources etc. from the download page:
> >
> > https://maven.apache.org/plugins/maven-compiler-plugin/download.cgi
> >
> > Release Notes - Maven Compiler Plugin - Version 3.13.0
> >
> > ** Bug
> > * [MCOMPILER-548] - JDK 21 throws annotations processing warning that
> > can not be turned off
> >
> > ** New Feature
> > * [MCOMPILER-582] - Automatic detection of release option for JDK < 9
> > * [MCOMPILER-583] - Require Maven 3.6.3
> >
> > ** Improvement
> > * [MCOMPILER-570] - Javadoc: Add link to javac references from JDK17
> > * [MCOMPILER-574] - AbstractCompilerMojo::execute should propagate
> > exception cause
> > * [MCOMPILER-576] - Deprecate parameter "compilerVersion"
> > * [MCOMPILER-577] - Rename parameter "forceJavacCompilerUse"
> >
> > ** Task
> > * [MCOMPILER-584] - Refresh page - Using Non-Javac Compilers
> > * [MCOMPILER-585] - Refresh plugins versions in ITs
> >
> > ** Dependency upgrade
> > * [MCOMPILER-575] - Bump plexus-compiler to 2.15.0
> >
> > Enjoy,
> > -The Apache Maven team
> >
>
--
Sławomir Jaranowski
Re: [ANN] Apache Maven Compiler Plugin 3.13.0 Released
Posted by Mark Derricutt <ma...@talios.com>.
Interesting - I just hit:
Execution default-compile of goal
org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile failed: An
API incompatibility was encountered while executing
org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile:
java.lang.NoSuchMethodError:
org.codehaus.plexus.compiler.javac.JavacCompiler.buildCompilerArguments(Lorg/codehaus/plexus/compiler/CompilerConfiguration;[Ljava/lang/String;)[Ljava/lang/String;
[ERROR] -----------------------------------------------------
[ERROR] realm =
plugin>org.apache.maven.plugins:maven-compiler-plugin:3.13.0
[ERROR] strategy =
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/Users/amrk/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/3.13.0/maven-compiler-plugin-3.13.0.jar
[ERROR] urls[1] =
file:/Users/amrk/.m2/repository/org/ow2/asm/asm/9.6/asm-9.6.jar
[ERROR] urls[2] =
file:/Users/amrk/.m2/repository/org/codehaus/plexus/plexus-compiler-javac-errorprone/2.8.6/plexus-compiler-javac-errorprone-2.8.6.jar
on most of my projects. Using Mvn 3.9.6
--
"Great artists are extremely selfish and arrogant things" — Steven Wilson,
Porcupine Tree
On Tue, Mar 19, 2024 at 7:20 AM Slawomir Jaranowski <sj...@apache.org>
wrote:
> The Apache Maven team is pleased to announce the release of the Apache
> Maven Compiler Plugin, version 3.13.0
>
> The Compiler Plugin is used to compile the sources of your project.
>
> https://maven.apache.org/plugins/maven-compiler-plugin/
>
> You should specify the version in your project's plugin configuration:
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>3.13.0</version>
> </plugin>
>
> You can download the appropriate sources etc. from the download page:
>
> https://maven.apache.org/plugins/maven-compiler-plugin/download.cgi
>
> Release Notes - Maven Compiler Plugin - Version 3.13.0
>
> ** Bug
> * [MCOMPILER-548] - JDK 21 throws annotations processing warning that
> can not be turned off
>
> ** New Feature
> * [MCOMPILER-582] - Automatic detection of release option for JDK < 9
> * [MCOMPILER-583] - Require Maven 3.6.3
>
> ** Improvement
> * [MCOMPILER-570] - Javadoc: Add link to javac references from JDK17
> * [MCOMPILER-574] - AbstractCompilerMojo::execute should propagate
> exception cause
> * [MCOMPILER-576] - Deprecate parameter "compilerVersion"
> * [MCOMPILER-577] - Rename parameter "forceJavacCompilerUse"
>
> ** Task
> * [MCOMPILER-584] - Refresh page - Using Non-Javac Compilers
> * [MCOMPILER-585] - Refresh plugins versions in ITs
>
> ** Dependency upgrade
> * [MCOMPILER-575] - Bump plexus-compiler to 2.15.0
>
> Enjoy,
> -The Apache Maven team
>