How To Install maven-surefire-provider-testng.noarch on Amazon Linux 2

In this tutorial we learn how to install maven-surefire-provider-testng.noarch in Amazon Linux 2. maven-surefire-provider-testng.noarch is TestNG provider for Maven Surefire

Introduction

In this tutorial we learn how to install maven-surefire-provider-testng.noarch on Amazon Linux 2.

What is maven-surefire-provider-testng.noarch

TestNG provider for Maven Surefire.

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

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

sudo yum -y install maven-surefire-provider-testng.noarch

How To Uninstall maven-surefire-provider-testng.noarch on Amazon Linux 2

To uninstall only the maven-surefire-provider-testng.noarch package we can use the following command:

sudo yum remove maven-surefire-provider-testng.noarch

maven-surefire-provider-testng.noarch Package Contents on Amazon Linux 2

/usr/share/java/maven-surefire/surefire-testng-utils.jar
/usr/share/java/maven-surefire/surefire-testng.jar
/usr/share/maven-effective-poms/JPP.maven-surefire-surefire-testng-utils.pom
/usr/share/maven-effective-poms/JPP.maven-surefire-surefire-testng.pom
/usr/share/maven-fragments/maven-surefire-testng.xml
/usr/share/maven-poms/JPP.maven-surefire-surefire-testng-utils.pom
/usr/share/maven-poms/JPP.maven-surefire-surefire-testng.pom

References

Summary

In this tutorial we learn how to install maven-surefire-provider-testng.noarch on Amazon Linux 2 using yum.