Step 1: Go to the link below download the maven file.
Step 2: Just extract the file and put it in the D drive or where ever you want.
Step 3: Now go to the command prompt,
and type mvn and you will get as follows,
Because we haven’t set the maven path.
Now set the path as follows and you will get the output as follows,
set M2_HOME=D:\apache-maven-3.0.4 (path of our maven extracted file)
%PATH% to maintain the already set paths.
Note: do not put semicolon at the end of set path statement, because of semicolon at the end you might not get the output sometime.
Now we can work with maven.
Thanks for reading this post………..!!!
668 total views, 1 views today