Skip to main content

HOW TO INSTALL MAVEN ON YOUR SYSTEM (WINDOWS OPERATING SYSTEM)

In this tutorial, I want to believe you have downloaded maven on your system if not then visit https://maven.apache.org/download.cgi to download maven. Please ensure that JDK have been installed and configured on your system environment variable.

STEP 1:
Extract maven to your program file


STEP 2:

You have to create a system variable for this in your Environment Variable form.
To get to this point, 
  • Right click on "computer" 
  • Click "Properties"
  • Click on "Advanced System settings"
  • Click on "Environment Variables" under "Advanced" category
  • Finally , you are there.
To Create a new system variables. 
  • Click "New..."
  • Enter M2_HOME as variable name
  • Enter the path to maven folder extracted to the program files folder as the variable value
  • Click Ok.
Please do the same for the variable name MAVEN_HOME and M2 as seen in the image above.

STEP 3:
       we have to include these variable names to the variable path 's variable value


Please follow the numbering on the image above.
At number 4: include ;%MAVEN_HOME%\bin;\%M2_HOME%\bin;%M2%.

NOTE THAT SOME APPLICATION LOOK OUT FOR M2 INSTEAD OF M2_HOME WHILE OTHERS VICE VERSA.

FINALLY: 
 you have have to test if it has been properly installed.
Type "mvn -version" on a command prompt and press enter.
The image below will be displayed.


Please feel free to comment.



Comments

Popular posts from this blog

PRAYERS

What people pray about?              Have you ever wonder what people around you pray about in the morning after waking up,at church, at work, in school and evening on the street . when you get closer , you find out that all we pray about are just for three people ME, MYSELF and I, such that we just think of ourselves alone even to the point of prayers. what can we call that?. when we read the bible, through the story of JESUS, we discover that all he did was not for himself but for Everyone even the generation yet to be born. while he was on the cross dying, he still prayed for even the people persecuting him saying "Father, forgive them.....".           Please lets us all learn to pray for everyone, because by doing that, you are saving a life, a generation, a nation and you are becoming a good follower of  Jesus Christ.

Life in Color: Brown, Brown Pictures -- National Geographic

Kara Boys, Ethiopia Photograph by Randy Olson, National Geographic In Ethiopia’s Omo Valley, two boys of the Kara tribe stand on the mud-caked shore of the Omo River. Replenished by seasonal floods, the river supports the Kara and other tribal communities that inhabit the valley.