I've been using Java 24 in all of the Apache Commons GitHub CI builds along with all Java LTS releases on Maven 3 without issues. When there are issues it's due to a Maven plugin like SpotBugs or JaCoCo.
HTH, Gary On Tue, Apr 8, 2025, 08:49 Andrei Ivanov <andrei.iva...@gmail.com> wrote: > Hi, > > On Mon, Apr 7, 2025 at 6:28 PM Karl Heinz Marbaise > <khmarba...@gmx.de.invalid> wrote: > > > Hi, > > > > On 26.03.25 16:10, Davide Perini wrote: > > > > > > > > > Hi there, > > > > > > I'm using JDK23 with maven 3 and everything worked well. > > > > > > I also need maven-shade, maven-assembly and javafx-maven plugins... > > > Not all plugins supports maven 4 this is why I would like to stick with > > > maven 3.9.9 and maven-compiler-plugin 3.14 > > > > > > Can I use JDK24 considering all the maven plugin I need? > > > > > > I would like to use JDK24 but I get an error when compiling my project, > > > > > > [ERROR] Failed to execute goal > > > org.apache.maven.plugins:maven-compiler-plugin:3.14.0:compile > > > (default-compile) on project fireflyluciferin: Fatal error compiling: > > > java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTag > > > :: UNKNOWN -> [Help 1] > > > > This is a typical problem with Lombok .... currently Lombok does not yet > > support JDK 24... > > > > > Lombok 1.18.38, released last week, might work with 24... I see some > commits related to it in the history. > > > > anythins else will work fine with JDK 24... the last days also an update > > to jacoco 0.8.13 works for JDK 24 as well...anything else works fine > > with JDK 24... > > > > Kind regards > > Karl Heinz Marbaise > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > >