I was recently migrating several projects from Apache Ant to Apache Maven. More than one of these projects had front-end components that used Grunt.js for various automation tasks. I had previously integrated these into my Ant build scripts with a custom target in my build.xml: <target name="run-grunt"> <exec executable="grunt" dir="." failonerror="true"></exec> </target> This was working pretty w