O'Reilly logo

JMeter Cookbook by Bayo Erinle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Maven

Perform the following steps to install Maven on your system:

  1. Download Maven from http://maven.apache.org/download.cgi. At the time of writing this book, version 3.2.3 is the latest version, and that is what was used in the book.
  2. Once downloaded, extract the archive to the location of your chosen directory. We refer to this as M2_HOME.
  3. Include the extracted location in your path variable so that mvn is available on the terminal:
    • For example, if you extracted the archive to c:\devtools\apache-maven-3.2.3 on Windows, or /Users/bayo/devtools/apache-maven-3.2.3 on Unix/Mac OS, you will proceed with the following steps:
    • On Windows:
      	set M2_HOME=c:\devtools\apache-maven-3.2.3
      	set PATH=%PATH%;%M2_HOME%\bin;
    • On Unix/Mac OS:
       export M2_HOME=/Users/bayo/devtools/apache-maven-3.2.3 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required