How To Install maven-test-tools.noarch on Amazon Linux 2

In this tutorial we learn how to install maven-test-tools.noarch in Amazon Linux 2. maven-test-tools.noarch is Maven Testing Tool

Introduction

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

What is maven-test-tools.noarch

Framework to test Maven Plugins with Easymock objects.

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

Install maven-test-tools.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-test-tools.noarch using yum by running the following command:

sudo yum -y install maven-test-tools.noarch

How To Uninstall maven-test-tools.noarch on Amazon Linux 2

To uninstall only the maven-test-tools.noarch package we can use the following command:

sudo yum remove maven-test-tools.noarch

maven-test-tools.noarch Package Contents on Amazon Linux 2

/usr/share/java/maven-plugin-testing/maven-test-tools.jar
/usr/share/maven-effective-poms/JPP.maven-plugin-testing-maven-test-tools.pom
/usr/share/maven-fragments/maven-plugin-testing-maven-test-tools.xml
/usr/share/maven-poms/JPP.maven-plugin-testing-maven-test-tools.pom

References

Summary

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