Check for Unix or Windows to set maven executable as mvn or mvn.bat.