Installing Maven on Windows 7

image_gallery

Tools Used:

  1. JDK 1.6
  2. Maven 3.1.1
  3. Windows 7

Step 1: Install Java if not already installed

 Install Java and add/update the JAVE_HOME variable

JAVA_HOME_SETTING

Step 2: Download Maven

Choose a version and download apache-maven-*-bin.zip file from here

Step 3: Extract It

Extract the downloaded zip file into desired location.

Step 4: Add MAVEN_HOME

Now, set the MAVEN_HOME variable just as you did for JAVA_HOME variable.

SET_MAVEN_HOME

Step 5: Update Path variable

Append up to bin folder path in variable value, so that you can run the Maven’s command everywhere.

UPDATE_PATH

Step 6: Verify installation

Open command prompt. Type mvn –version in command prompt and hit enter.

VERIFY_INSTALLATION

If you see similar output as above, means your Apache Maven is installed successfully J

Reference:

http://maven.apache.org/

%d bloggers like this: