I have some problems with my maven 3 installation.
I have downloaded maven 3.0.3 and extracted it to a folder. I set the following environment variables.
C:\a few folders\apache-maven-3.0.3
%M2_HOME%\bin
C:\Program Files\Java\jdk1.6.0_25
%JAVA_HOME%\bin; %M2%
I get a message that the command is not recognized when i type "mvn" in the command line. Any ideas?
Everything looks OK.
%M2%
. This might be your problem.