Maven Integration plugin is a plugin that helps us to build projects that use Apache Maven in Jenkins. In this tutorial, I will guide you how to install this plugin to be able to use it.
Just like Install Git plugin in Jenkins, first of all, you need log into your admin account then go to Manage Jenkins, select Manage Plugins, select the Available tab, then find the Maven Integration plugin:
then click Install without restart or Download now and install after restart to install it.
This plugin needs other dependency plugins like:
- Apache HttpComponents Client 4.x API
- JSch dependency
- Token Macro
- bouncycastle API
- Command Agent Launcher
- JDK Tool
But since my Jenkins now installed the Git plugin before so some dependencies are available, now just install the ones that have not. So, you will see the results as follows, after clicking Install without restart or Download now and install after restart.
As you can see, to install Maven Integration plugin, I just need to install the Javadoc plugin.
Wait until all the plugins have been installed, click the link Go back to the top page to start using Maven Integration plugin.
Click the New Item link, you will see the option for Maven project as follows: