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 a lot of other plugin dependencies, but if your Jenkins already installed the suggested plugins when installing it, some of the dependencies are already there, now just install the ones that don’t. You will see the following results:
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:
Uday
Hi I’m facing above error , are there any steps to resolve this?
Khanh Nguyen
I didn’t face this error. How did you install your Jenkins instance?
Shoto
I am getting the error below for JUnit:
java.io.IOException: Failed to load: JUnit Plugin (1.48)
– Update required: ECharts API Plugin (4.8.0-2) to be updated to 4.9.0-2 or higher
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:934)
at hudson.PluginManager.dynamicLoad(PluginManager.java:931)
Caused: java.io.IOException: Failed to install junit plugin
at hudson.PluginManager.dynamicLoad(PluginManager.java:944)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2137)
Caused: java.io.IOException: Failed to dynamically deploy this plugin
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2141)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1821)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:111)
at java.lang.Thread.run(Unknown Source)
And for Maven Integration:
java.io.IOException: Failed to load: Maven Integration plugin (3.8)
– Failed to load: JUnit Plugin (1.48)
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:934)
at hudson.PluginManager.dynamicLoad(PluginManager.java:931)
Caused: java.io.IOException: Failed to install maven-plugin plugin
at hudson.PluginManager.dynamicLoad(PluginManager.java:944)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2137)
Caused: java.io.IOException: Failed to dynamically deploy this plugin
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2141)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1821)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:111)
at java.lang.Thread.run(Unknown Source)