How To Install maven-gpg-plugin.noarch on Amazon Linux 2
In this tutorial we learn how to install maven-gpg-plugin.noarch in Amazon Linux 2. maven-gpg-plugin.noarch is Maven GPG Plugin
Introduction
In this tutorial we learn how to install maven-gpg-plugin.noarch on Amazon Linux 2.
What is maven-gpg-plugin.noarch
This plugin signs all of the project’s attached artifacts with GnuPG. It adds goals gpg
We can use yum to install maven-gpg-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-gpg-plugin.noarch.
Install maven-gpg-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-gpg-plugin.noarch using yum by running the following command:
sudo yum -y install maven-gpg-plugin.noarch
How To Uninstall maven-gpg-plugin.noarch on Amazon Linux 2
To uninstall only the maven-gpg-plugin.noarch package we can use the following command:
sudo yum remove maven-gpg-plugin.noarch
maven-gpg-plugin.noarch Package Contents on Amazon Linux 2
/usr/share/doc/maven-gpg-plugin-1.4
/usr/share/doc/maven-gpg-plugin-1.4/LICENSE
/usr/share/doc/maven-gpg-plugin-1.4/NOTICE
/usr/share/java/maven-gpg-plugin
/usr/share/java/maven-gpg-plugin/maven-gpg-plugin.jar
/usr/share/maven-effective-poms/JPP.maven-gpg-plugin-maven-gpg-plugin.pom
/usr/share/maven-fragments/maven-gpg-plugin.xml
/usr/share/maven-poms/JPP.maven-gpg-plugin-maven-gpg-plugin.pom
References
Summary
In this tutorial we learn how to install maven-gpg-plugin.noarch on Amazon Linux 2 using yum.