How To Install maven-shade-plugin.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install maven-shade-plugin.noarch on Amazon Linux 2.
What is maven-shade-plugin.noarch
This plugin provides the capability to package the artifact in an uber-jar, including its dependencies and to shade - i.e. rename - the packages of some of the dependencies.
We can use yum to install maven-shade-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-shade-plugin.noarch.
Install maven-shade-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-shade-plugin.noarch using yum by running the following command:
sudo yum -y install maven-shade-plugin.noarch
How To Uninstall maven-shade-plugin.noarch on Amazon Linux 2
To uninstall only the maven-shade-plugin.noarch package we can use the following command:
sudo yum remove maven-shade-plugin.noarch
maven-shade-plugin.noarch Package Contents on Amazon Linux 2
/usr/share/doc/maven-shade-plugin-2.0
/usr/share/doc/maven-shade-plugin-2.0/LICENSE
/usr/share/doc/maven-shade-plugin-2.0/NOTICE
/usr/share/java/maven-shade-plugin
/usr/share/java/maven-shade-plugin/maven-shade-plugin.jar
/usr/share/maven-effective-poms/JPP.maven-shade-plugin-maven-shade-plugin.pom
/usr/share/maven-fragments/maven-shade-plugin.xml
/usr/share/maven-poms/JPP.maven-shade-plugin-maven-shade-plugin.pom
References
Summary
In this tutorial we learn how to install maven-shade-plugin.noarch on Amazon Linux 2 using yum.