prepare exec hook
add support for mvn, gradle and ant