Installing Maven

Maven is a Java tool, and therefore, we need to have Java installed to use it. You should have Java on your system already if you're running Jenkins locally, but if not, you can download a JDK for your platform from the following link—version 6.0 or later is required:

Once you've got the Java prerequisite sorted out, download Maven for your platform from the Apache site here:

Then follow the installation steps for your operating system from this page:

On all platforms, the main requirement is to ensure that you have a JAVA_HOME variable in PATH, and that PATH also contains the Maven bin ...

Get Extending Jenkins now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.