Support for JDK 22-ea?

Francesco Chicchiriccò <[email protected]>
Newsgroups gmane.comp.lang.groovy.user
Message-ID <[email protected]>
Hi there,
at Syncope we have been using Groovy and GMavenPlus for quite some time now, thank you!

After recently enabling Eclipse Temurin 22-ea for GitHub actions, we found out that the Maven build is failing with following message:

Error:  Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:3.0.2:execute (default) on project syncope: Error occurred while calling a method on a Groovy class from classpath.: InvocationTargetException: BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 66 -> [Help 1]

At present we are using GMavenPlus 3.0.2 and Groovy 4.0.15, declared as follows:

       <plugin>
         <groupId>org.codehaus.gmavenplus</groupId>
         <artifactId>gmavenplus-plugin</artifactId>
         <version>3.0.2</version>
         <dependencies>
           <dependency>
             <groupId>org.apache.groovy</groupId>
             <artifactId>groovy-ant</artifactId>
             <version>4.0.15</version>
           </dependency>
         </dependencies>
       </plugin>

Is there already a version supporting JDK 22-ea? Even SNAPSHOTs would work, it's on our master branch.

TIA
Regards.

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.