How To Install maven-enforcer.noarch on Amazon Linux 2
In this tutorial we learn how to install maven-enforcer.noarch in Amazon Linux 2. maven-enforcer.noarch is Maven Enforcer
Introduction
In this tutorial we learn how to install maven-enforcer.noarch on Amazon Linux 2.
What is maven-enforcer.noarch
Enforcer is a build rule execution framework.
We can use yum to install maven-enforcer.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install maven-enforcer.noarch.
Install maven-enforcer.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-enforcer.noarch using yum by running the following command:
sudo yum -y install maven-enforcer.noarch
How To Uninstall maven-enforcer.noarch on Amazon Linux 2
To uninstall only the maven-enforcer.noarch package we can use the following command:
sudo yum remove maven-enforcer.noarch
maven-enforcer.noarch Package Contents on Amazon Linux 2
/usr/share/doc/maven-enforcer-1.2
/usr/share/doc/maven-enforcer-1.2/LICENSE
/usr/share/doc/maven-enforcer-1.2/NOTICE
/usr/share/maven-fragments/maven-enforcer-enforcer.xml
/usr/share/maven-poms/JPP.maven-enforcer-enforcer.pom
References
Summary
In this tutorial we learn how to install maven-enforcer.noarch on Amazon Linux 2 using yum.