A Maven 2/3 plugin to execute arbitrary BeanShell script.  http://genthaler.github.io/beanshell-maven-plugin/