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/

Advertisements

2 Responses to Installing Maven on Windows 7

  1. Hey I know this is off topic but I was wondering
    if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with
    something like this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to your new updates.

    Like

  2. I hadn’t thought of using containers but that’s a great idea. Thanks so much for sharing!

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: