How To Install maven-plugin-testing.noarch on Amazon Linux 2

In this tutorial we learn how to install maven-plugin-testing.noarch in Amazon Linux 2. maven-plugin-testing.noarch is Maven Plugin Testing

Introduction

In this tutorial we learn how to install maven-plugin-testing.noarch on Amazon Linux 2.

What is maven-plugin-testing.noarch

The Maven Plugin Testing contains the necessary modules to be able to test Maven Plugins.

We can use yum to install maven-plugin-testing.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install maven-plugin-testing.noarch.

Install maven-plugin-testing.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install maven-plugin-testing.noarch

How To Uninstall maven-plugin-testing.noarch on Amazon Linux 2

To uninstall only the maven-plugin-testing.noarch package we can use the following command:

sudo yum remove maven-plugin-testing.noarch

maven-plugin-testing.noarch Package Contents on Amazon Linux 2

/usr/share/doc/maven-plugin-testing-2.1
/usr/share/doc/maven-plugin-testing-2.1/LICENSE
/usr/share/doc/maven-plugin-testing-2.1/NOTICE
/usr/share/maven-fragments/maven-plugin-testing-maven-plugin-testing.xml
/usr/share/maven-poms/JPP.maven-plugin-testing-maven-plugin-testing.pom

References

Summary

In this tutorial we learn how to install maven-plugin-testing.noarch on Amazon Linux 2 using yum.