Without writing a new plugin, you could prepend to your .js file a #! entry to 
jrunscript which will run the script under rhino.

jrunscript comes as part of the JDK and uses the javax.scripting api.


On 19/09/2011, at 1:51 PM, Abhishek kumar wrote:

> Now I want to run a .js file, I tried but its not working, any help to
> how to run a javascript file during maven lifecycle

Reply via email to