Currently we use ANT to make Java WAR files.
Is there javac and war commands for grunt?
I googled first, no joy.
hum I don't think so. but you could one of the shell exec plugins.
one of the common ones would be:
Or you could easily create your own simple task that just calls the command you want using grunt.util.spawn.
That would be pretty straight forward to use. Or you could use grunt.util.spawn or other grunt plugins.