title: How to create and where to put BeanShell scripts for Apache Maven Infoker plugin?
body: <p>I need to create a zip file with my generated <code>.jar</code> and few other files needed by my project. Googling has led me to <a href="http://maven.apache.org/plugins/maven-invoker-plugin/examples/post-build-script.html" rel="nofollow">Apache Maven Invoker plugin</a> (I use maven).</p>
  
  <p>But it doesn't seem to use windows batch as I hoped (yeah, that would be too easy to create and debug). Instead, it enforces some cross platform ability by requiring BeanShell script. That's a scripting language that looks like java and works like java making me wonder how is it different from java.</p>
  
  <p>My question is, using Netbeans, <strong>how should I make a bean shell script</strong> and <strong>in which folder should I put it</strong>. By "<em>how should I make</em>" I mean how shoild I make anything that executes and <em>indicates that it executed</em>.</p>