Wednesday 5 February 2014

How to install Maven on Windows


Maven Installation is quite straight forward please have look at the following procedure and do comment if you get any issues while installing maven

Apache Maven is not require to install on Windows as a service component, you just need to download the Maven’s zip file, extract it and configure the Windows environment path variable.
Tools Used :
  1. JDK 1.6 or newer version
  2. Maven 2.2.1 or newer version
  3. Windows xp or  7

    1. JDK and JAVA_HOME


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

    2. Download Apache Maven

    Visit this Maven official website, choose a version and click on the download link, e.gapache-maven-3.1.1-bin.zip


    3. Extract It

    Extract the downloaded zip file. In this case, we extracted to d driver and renamed the folder, e.g D:\mavenNote:
    That’s all, just folders and files, installation is NOT required on Windows.

    4. Add MAVEN_HOME

    Add a new "MAVEN_HOME" variable to the Windows environment, and point it to your Maven folder.




    5. Add PATH

    Update "PATH" variable, append “Maven bin folder” path, so that you can run the Maven’s command everywhere.





    6. Verification

    Done, to verify it, in command prompt, type “mvn –version“.





    If you see similar message, means your Apache Maven is installed successfully on Windows.


    Other popular posts:


    All possible ways for handling DragAndDrop using Selenium

    All Possible ways for switching frames in Selenium

    Automating tables tags using Selenium

    Selenium Webdriver Integration with JBheave (BDD)

1 comment:

  1. New Jersey casino review: When will the - MJH Hub
    The best 진주 출장샵 casino bonus 목포 출장안마 codes in New Jersey for 2021! 목포 출장마사지 Read all about promotions, bonuses and the 의왕 출장안마 latest the sports betting 광주 출장안마 bonus code for NJ gambling sites!

    ReplyDelete

:)