Lets Install Maven

Steps to Install Maven for Windows XP:
  1. Maven is a Java tool, so you must have Java installed.
  2. Download Maven from
  3. Unzip the distribution archive, i.e. to the directory you wish to install Maven 3.0.3
  4. Add the M2_HOME environment variable with the value of where you have extracted the zip artchive: C:\Program Files\Apache Software Foundation\apache-maven-3.0.3
  5. Add the M2 environment variable in the user variables with the value %M2_HOME%\bin
  6. Update/create the Path environment variable and append the value %M2% to add Maven available in the command line.
  7. Make sure that JAVA_HOME exists in your user variables or in the system variables and it is set to the location of your JDK, e.g. C:\Program Files\Java\jdk1.5.0_02
  8. Restart the machine
  9. Open a new command prompt and type mvn --version to verify that it is correctly installed

Happy Testing!!!

No comments:

Post a Comment