MojoFailureException

Try the following: git reset --hard git clean -df mvn clean install