Skip to main content

How To Install Apache Maven On Windows




When installing Apache Maven, first of all have to download the Maven’s zip file. Then extract it and configure the Windows environment path variable.

Note : Make sure JDK is installed, and “JAVA_HOME” variable is added in Windows environment variable, and point to the JDK folder.


1. Download Apache Maven 

Go to Apache Maven official website, select a version and click on the download link.

Eg:  apache-maven-3.1.0-bin.zip

 

 2. Extract And Setting Up Maven Home

Extract the downloaded zip file, let's say you extracted to drive C. Eg: C:/Maven

Note that no installation required. 

Now, Adding MAVEN_HOME variable in system variables.  To do that Start --> Computer --> Right click on that and select properties --> Advance System Settings

Add a new System Variable called MAVEN_HOME. 

 

3. Adding To PATH Variable

Here you have to give the path to bin folder of Maven installation. Since you have set MAVEN_HOME up to Maven installation folder you can append the PATH varibale with %MAVEN_HOME%\bin. 

 

 4. To Verify Whether Maven Is Installed

Go to command prompt (Run --> cmd) and type MVN -version. You should get something similar to this. 

 

 

Comments

Popular posts from this blog

D. S. Senanayake College - My Alma Mater

  History In 1967, Minister of Education Hon. I.M.R.A. Iriyagolla began the ground work for establishing the Boys' school in Cinnamon Gardens. It was named after the first prime minister, Hon. D.S. Senanayake of Sri Lanka. Mr. R.I.T. Alles, a teacher of Royal College, Colombo 07 became the Principle of the new school. The location in which the college stands today was at that time called the "Kumbikale", which was cleared with the help of the community and some boy scouts from Royal College. After years of hard work, D.S. Senanayake College opened her doors to youngsters on 10th February 1967. Today The first batch of 167 students was housed in a prefabricated building sheltered by woven coconut leaves. Today it accommodates more than 6500 students from Grade 01 to 13. The ratio of Student : Teacher is now 23 : 1. Currently, 275 teachers are educating students. School colors are Black and Gold where motto is "Country Before Self...

"Hello World" in Different Languages

TRUE STORY!!! And in Binary  :  1000100111010101101011101000000111101010100011101101110111101101010010100010101010101011110101000101010101010101010100100101000101010101110101010100000010111011110110101001010001010101010101111010100010101010101010101010010010100010101010111010 101011001110111101101011101111011010100101000101010101010111101010001010101010101010101001001010001010101011101010100010100010101010101011110101000101010101010101010100100101000101010101110101010.. What the hell? :O Ref -  https://www.facebook.com/photo.php?fbid=554573284591554&set=a.241809332534619.55240.241806149201604&type=1&relevant_count=1&ref=nf

Selenium - 1

1. What is Selenium? Selenium is a portable software testing framework for web applications . It is a JavaScript framework that runs in web browser, works anywhere JavaScript supports. Selenium provides a test domain specific language (DSL) such as HTML to write tests in a number of popular programming languages, including Java , Ruby , Groovy , Python , PHP , and Perl . Selenium deploys on Windows , Linux , and Macintosh platforms. Note : Selenium RC and WebDriver are merged into a single framework to form Selenium 2. Selenium 1 refers to Selenium RC.  2. Why is Selenium? There are seve ral re ason s to choose Selenium. Of course, it is open source and because of that it is easy to learn as you may f ind lots of resources in the internet. 1. Supports many browsers. 2. Supports many scripting/programming languages. 3. Flexible to your choice, simple record and playback (IDE), Comple Framework design to your choice by using your favorite programming l...