Skip to content

Port the IT scripts from BeanShell to Groovy - #855

Merged
slachiewicz merged 2 commits into
masterfrom
agent/bsh-to-groovy
Sep 20, 2026
Merged

slachiewicz merged 2 commits into
masterfrom
agent/bsh-to-groovy

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Ports the 36 BeanShell IT scripts under src/it/projects to Groovy, keeping the same checks. 15 were already valid Groovy; the rest needed String[] x = { … } initialisers as list literals (20 files; two empty ones as [] as String[]), "Main\$Nested.class" escaped so Groovy does not interpolate (mini-jar-jdk11+), and def on locals inside the script-level helper methods of MSHADE-373. The rename is a separate commit so the port reads as a diff. Part of apache/maven#13207.

Verified: mvn verify -Prun-its -Dinvoker.test=<all 31 IT projects> → Passed: 31, Failed: 0; unit tests 72/72.

@slachiewicz
slachiewicz marked this pull request as ready for review September 20, 2026 12:46
@slachiewicz
slachiewicz merged commit 5bc727a into master Sep 20, 2026
20 of 21 checks passed
@slachiewicz
slachiewicz deleted the agent/bsh-to-groovy branch September 20, 2026 12:47
@github-actions github-actions Bot added this to the 3.6.3 milestone Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant