How To Install maven-profile.noarch on Amazon Linux 2

In this tutorial we learn how to install maven-profile.noarch in Amazon Linux 2. maven-profile.noarch is Compatibility Maven profile artifact

Introduction

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

What is maven-profile.noarch

Maven profile artifact

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

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

sudo yum -y install maven-profile.noarch

How To Uninstall maven-profile.noarch on Amazon Linux 2

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

sudo yum remove maven-profile.noarch

maven-profile.noarch Package Contents on Amazon Linux 2

/usr/share/doc/maven-profile-2.2.1
/usr/share/doc/maven-profile-2.2.1/LICENSE.txt
/usr/share/doc/maven-profile-2.2.1/NOTICE.txt
/usr/share/java/maven/maven-profile.jar
/usr/share/maven-effective-poms/JPP.maven-maven-profile.pom
/usr/share/maven-fragments/maven2-maven-profile.xml
/usr/share/maven-poms/JPP.maven-maven-profile.pom

References

Summary

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