Skip to content

[3.x] Port the IT scripts from BeanShell to Groovy - #331

Merged
slachiewicz merged 2 commits into
maven-source-plugin-3.xfrom
agent/bsh-to-groovy-3x
Sep 20, 2026
Merged

slachiewicz merged 2 commits into
maven-source-plugin-3.xfrom
agent/bsh-to-groovy-3x

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Ports the 14 BeanShell IT scripts under src/it to Groovy, keeping the same checks. Four were already valid Groovy; ten had String[] x = { … } initialisers (now list literals) and jar-includes-excludes redeclared four typed locals in one scope, which Groovy rejects (the second occurrences are plain assignments now). The rename is a separate commit so the port reads as a diff. Part of apache/maven#13207. Same port as the master PR; the scripts are byte-identical on both lines.

Verified: mvn verify -Prun-its -Dinvoker.test=<all 14 ITs> → Passed: 14, Failed: 0.

@slachiewicz
slachiewicz marked this pull request as ready for review September 20, 2026 13:10
@slachiewicz
slachiewicz merged commit e2a253a into maven-source-plugin-3.x Sep 20, 2026
20 of 21 checks passed
@slachiewicz
slachiewicz deleted the agent/bsh-to-groovy-3x branch September 20, 2026 13:10
@github-actions github-actions Bot added this to the 3.4.1 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