Skip to content

Run invoker scripts with Groovy 4.0.33, which supports JDK 27 - #470

Merged
slachiewicz merged 1 commit into
masterfrom
agent/invoker-groovy-jdk27
Nov 23, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/invoker-groovy-jdk27

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

maven-invoker-plugin 3.10.1, the latest release, runs setup and verify scripts with Groovy 4.0.31, which fails on JDK 27 with Unsupported class file major version 71; on JDK 27 that breaks the ITs of every repository using a script. This overrides invoker's three Groovy modules with 4.0.33, a patch release of the same line.

Verified: modello on the 29-SNAPSHOT parent, mvn install -Prun-its on JDK 27 → 4 ITs pass (3 Groovy failures before).

Groovy 4.0.31, which maven-invoker-plugin 3.10.1 uses, fails every setup and verify script on JDK 27 with 'Unsupported class file major version 71'. Drop the override once an invoker release ships a newer Groovy.
@slachiewicz slachiewicz added the build Pull requests that change the build process label Nov 22, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 23, 2026 00:07
@slachiewicz
slachiewicz merged commit cd89677 into master Nov 23, 2026
15 checks passed
@slachiewicz
slachiewicz deleted the agent/invoker-groovy-jdk27 branch November 23, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Pull requests that change the build process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant