Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
With JDK 22-ea and the following declaration:
<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>
the Maven build process fails with 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]