On Fri, Jan 1, 2010 at 12:29 PM, Stefano Fornari <stefano.forn...@gmail.com> wrote: > Hi All, > I needed a plugin to run JavaScript scripts and I ran into > script-maven-plugin. It looks that id does most of what I need, but I > would need to extend it anyway to allow the evaluation of more than > one script. Looking at the documentation and code, I noticed, it seems > a bit outdated and supports BSF 2.x only. > In the JDK 1.6, JSR223 is implemented and provides already the Rhino > JavaScript engine implementation. I was therefore wondering if it > makes sense at all to develop a script-maven-plugin 2.0 that supports > JSR223 and drops support for BSF (who wants to use BSF engines can > keep using 1.0-SNAPSHOT). I would develop such version and contribute > it to the project if Tomasz is fine with it. The alternative is to > develop a separate plugin, but it would be a pity to fragment this > simple mojo.
Yes, go for it. Initially, I've been developing this plugin with groovy in mind and then whole GMaven thing comes... Also, with JDK1.6 being a de facto standard on developer's environments, I think it would be better to use JSR233 instead of BSF. Regards, Tomek > > What do you think? > > Stefano > > -- > Ste > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org