How To Install sonatype-plugins-parent.noarch on Amazon Linux 2

In this tutorial we learn how to install sonatype-plugins-parent.noarch in Amazon Linux 2. sonatype-plugins-parent.noarch is Sonatype Plugins Parent POM

Introduction

In this tutorial we learn how to install sonatype-plugins-parent.noarch on Amazon Linux 2.

What is sonatype-plugins-parent.noarch

This package provides Sonatype plugins parent POM used by other Sonatype packages.

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

Install sonatype-plugins-parent.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 sonatype-plugins-parent.noarch using yum by running the following command:

sudo yum -y install sonatype-plugins-parent.noarch

How To Uninstall sonatype-plugins-parent.noarch on Amazon Linux 2

To uninstall only the sonatype-plugins-parent.noarch package we can use the following command:

sudo yum remove sonatype-plugins-parent.noarch

sonatype-plugins-parent.noarch Package Contents on Amazon Linux 2

/usr/share/doc/sonatype-plugins-parent-8
/usr/share/doc/sonatype-plugins-parent-8/LICENSE
/usr/share/maven-fragments/sonatype-plugins-parent.xml
/usr/share/maven-poms/JPP.sonatype-plugins-parent-plugins-parent.pom

References

Summary

In this tutorial we learn how to install sonatype-plugins-parent.noarch on Amazon Linux 2 using yum.