Fork me on GitHub

Beanshell Maven Plugin

This is simply a plugin to execute arbitrary BeanShell.

It provides much of the same functionality as the script-maven-plugin. It requires a bit less configuration than that, but the main reason for its existence is to write a beanshell-maven-plugin using the beanshell-maven-plugin-archetype.

So basically this is a Maven plugin that executes BeanShell scripts using the BeanShell Maven scripting support. It’s all very meta.

Goals Overview

  • bsh:run run a BeanShell script either via a script tag or a file.
  • bsh:help get help.


General instructions on how to use the Beanshell Maven Plugin can be found on the usage page.

If you feel like the plugin is missing a feature or has a defect, you can fill a feature request or bug report in our issue tracker. When creating a new issue, please provide a comprehensive description of your concern. Especially for fixing bugs it is crucial that the developers can reproduce your problem. For this reason, entire debug logs, POMs or most preferably little demo projects attached to the issue are very much appreciated. Of course, patches are most welcome too. Contributors can check out the project from our source repository and will find supplementary information in the guide to helping with Maven.