How To Install jvnet-parent.noarch on Amazon Linux 2

In this tutorial we learn how to install jvnet-parent.noarch in Amazon Linux 2. jvnet-parent.noarch is Java.net parent POM file

Introduction

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

What is jvnet-parent.noarch

Java.net parent POM file used by most Java.net subprojects such as Glassfish

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

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

sudo yum -y install jvnet-parent.noarch

How To Uninstall jvnet-parent.noarch on Amazon Linux 2

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

sudo yum remove jvnet-parent.noarch

jvnet-parent.noarch Package Contents on Amazon Linux 2

/usr/share/doc/jvnet-parent-4
/usr/share/doc/jvnet-parent-4/LICENSE
/usr/share/maven-fragments/jvnet-parent.xml
/usr/share/maven-poms/JPP.jvnet-parent-jvnet-parent.pom

References

Summary

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