You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/09/20 14:00:38 UTC
[PR] Deprecate BeanShell scripts [maven-script-interpreter]
slachiewicz opened a new pull request, #216:
URL: https://github.com/apache/maven-script-interpreter/pull/216
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Deprecate BeanShell scripts [maven-script-interpreter]
Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo commented on code in PR #216:
URL: https://github.com/apache/maven-script-interpreter/pull/216#discussion_r4071022259
##########
src/site/markdown/index.md.vm:
##########
@@ -21,6 +21,8 @@ under the License.
This component provides some utilities to interpret/execute some scripts for various implementations: groovy or beanshell.
+**BeanShell is deprecated** since 1.10: port `.bsh` scripts to Groovy. Running a BeanShell script logs a warning, BeanShell becomes an optional dependency in 1.11, and support for it will be removed later. The retirement is tracked in [apache/maven#13207](https://github.com/apache/maven/issues/13207).
Review Comment:
It would be helpful to explain why Beanshell is deprecated. So far I can't decide if I think this deprecarion is a good idea or not.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Deprecate BeanShell scripts [maven-script-interpreter]
Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz commented on code in PR #216:
URL: https://github.com/apache/maven-script-interpreter/pull/216#discussion_r4146021908
##########
src/site/markdown/index.md.vm:
##########
@@ -21,6 +21,8 @@ under the License.
This component provides some utilities to interpret/execute some scripts for various implementations: groovy or beanshell.
+**BeanShell is deprecated** since 1.10: port `.bsh` scripts to Groovy. Running a BeanShell script logs a warning, BeanShell becomes an optional dependency in 1.11, and support for it will be removed later. The retirement is tracked in [apache/maven#13207](https://github.com/apache/maven/issues/13207).
Review Comment:
> Why
> The bsh artifact we ship is dead on Central: org.apache-extras.beanshell:bsh last published 2.0b6 on 2016-02-05 (the https://github.com/advisories/GHSA-gxg6-rc6c-v673 fix). The GitHub project released 2.1.1 in 2022 but never to Central; nothing since.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Deprecate BeanShell scripts [maven-script-interpreter]
Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz merged PR #216:
URL: https://github.com/apache/maven-script-interpreter/pull/216
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org