Apache Maven install "'mvn' not recognized as an internal or external command" after setting OS environmental variables?
Looks like maven is not present in your PATH. Add the absolute maven home\bin location to your PATH.
I had this same problem, restart the command prompt and then check try mvn --version. It was probably set and working the whole time but command prompt needed to be restarted to be able to access the new system variable.