Your System has a user PATH variable, which does not point to the maven installation binary directory
Just set a user variable PATH, wich points to the maven installation binary directory
This may happen through network issues. Be insistent and try "mvn install" several times.
You will see the process will get each time a little bit further.