Give the description and in the Source Code Management section, select the required option. To do that, click on the New Item option or create a new job option.Įnter the Item Name and select the Maven Project. Now, you can create a job with the Maven project. Then, click on the " Save" button at the end of the screen. Give a Name and JAVA_HOME path, or check on install automatically checkbox.Īnd now, to configure Maven, click on "Add Maven" button in the Maven section, give any Name and MAVEN_HOME path or check to install automatically checkbox. To configure Java, click on " Add JDK" button in the JDK section. Now, in the Jenkins dashboard (Home screen) click on manage Jenkins from the left-hand side menu.Ĭlick on "Global Tool Configuration" option.You can verify that the JAVA_HOME environment variable is properly configured or not by using the following command: To set the JAVA_HOME and MAVEN_HOME path, click here. First of all, you have to set the JAVA_HOME and MAVEN_HOME environment variable in your system.Once the file is downloaded, extract the file into your system.
Go to the files section and download the Maven by the given link for Binary zip archive file. When you click on the given link, you will get the home page of the official Maven website as given below: Click on the given link to download the Maven. The official website for Apache Maven is.
Maven addresses two aspects of building software: 1st it describes how software is build and 2 nd it describes its dependencies. Maven is build automation tool used basically for Java projects, though it can also be used to build and manage projects written in C#, Scala, Ruby, and other languages. It is based on the concept of a POM (Project Object Model) that includes project information and configuration information for Maven such as construction directory, source directory, test source directory, dependency, Goals, plugins etc. Maven is a powerful project management and comprehension tool that provides complete build life cycle framework to assist developers.