How To Install maven-jar-plugin.noarch on Amazon Linux 2
In this tutorial we learn how to install maven-jar-plugin.noarch in Amazon Linux 2. maven-jar-plugin.noarch is Maven JAR Plugin
Introduction
In this tutorial we learn how to install maven-jar-plugin.noarch
on Amazon Linux 2.
What is maven-jar-plugin.noarch
Builds a Java Archive (JAR) file from the compiled project classes and resources.
We can use yum
to install maven-jar-plugin.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install maven-jar-plugin.noarch.
Install maven-jar-plugin.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-jar-plugin.noarch
using yum
by running the following command:
sudo yum -y install maven-jar-plugin.noarch
How To Uninstall maven-jar-plugin.noarch on Amazon Linux 2
To uninstall only the maven-jar-plugin.noarch
package we can use the following command:
sudo yum remove maven-jar-plugin.noarch
maven-jar-plugin.noarch Package Contents on Amazon Linux 2
/usr/share/doc/maven-jar-plugin-2.4
/usr/share/doc/maven-jar-plugin-2.4/LICENSE
/usr/share/doc/maven-jar-plugin-2.4/NOTICE
/usr/share/java/maven-jar-plugin/maven-jar-plugin.jar
/usr/share/maven-effective-poms/JPP.maven-jar-plugin-maven-jar-plugin.pom
/usr/share/maven-fragments/maven-jar-plugin.xml
/usr/share/maven-poms/JPP.maven-jar-plugin-maven-jar-plugin.pom
References
Summary
In this tutorial we learn how to install maven-jar-plugin.noarch
on Amazon Linux 2 using yum.