Skip to content

Deprecate BeanShell scripts - #216

Merged
slachiewicz merged 1 commit into
masterfrom
agent/deprecate-beanshell
Sep 30, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/deprecate-beanshell

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Marks BeanShellScriptInterpreter @Deprecated, logs a warning whenever a BeanShell script runs, and says on the site page what happens next: BeanShell becomes an optional dependency in 1.11 and support for it will be removed later. No behaviour change otherwise. Part of the retirement tracked in apache/maven#13207; the consumers (invoker and archetype plugins) already carry the notice in their parameter docs.

Verified: mvn verify → 33 tests green, the warning shows for each of the three .bsh test scripts.

Groovy is the second engine for everything BeanShell does here, and the
bsh artifact has had no release on Central since 2016. Running a .bsh
script now logs a warning; BeanShell becomes an optional dependency in
1.11 and support for it will be removed later (apache/maven#13207).
@slachiewicz slachiewicz added the deprecated Pull requests that deprecate features label Sep 20, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review September 20, 2026 14:06
@slachiewicz slachiewicz added this to the 1.10 milestone Sep 21, 2026
Comment thread src/site/markdown/index.md.vm Resolved
@slachiewicz
slachiewicz merged commit 456ead6 into master Sep 30, 2026
15 checks passed
@slachiewicz
slachiewicz deleted the agent/deprecate-beanshell branch September 30, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecated Pull requests that deprecate features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants