How To Install maven-invoker-plugin on CentOS 7

In this tutorial we learn how to install maven-invoker-plugin on CentOS 7. maven-invoker-plugin is Maven Invoker Plugin

Introduction

In this tutorial we learn how to install maven-invoker-plugin on CentOS 7.

What is maven-invoker-plugin

The Maven Invoker Plugin is used to run a set of Maven projects. The plugin can determine whether each project execution is successful, and optionally can verify the output generated from a given project execution.

We can use yum or dnf to install maven-invoker-plugin on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install maven-invoker-plugin.

Install maven-invoker-plugin on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install maven-invoker-plugin using yum by running the following command:

sudo yum -y install maven-invoker-plugin

Install maven-invoker-plugin on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install maven-invoker-plugin using dnf by running the following command:

sudo dnf -y install maven-invoker-plugin

How To Uninstall maven-invoker-plugin on CentOS 7

To uninstall only the maven-invoker-plugin package we can use the following command:

sudo dnf remove maven-invoker-plugin

References

Summary

In this tutorial we learn how to install maven-invoker-plugin on CentOS 7 using yum and dnf.