How To Install maven-source-plugin.noarch on Amazon Linux 2
In this tutorial we learn how to install maven-source-plugin.noarch in Amazon Linux 2. maven-source-plugin.noarch is Plugin creating source jar
Introduction
In this tutorial we learn how to install maven-source-plugin.noarch on Amazon Linux 2.
What is maven-source-plugin.noarch
The Maven 2 Source Plugin creates a JAR archive of the source files of the current project.
We can use yum to install maven-source-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-source-plugin.noarch.
Install maven-source-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-source-plugin.noarch using yum by running the following command:
sudo yum -y install maven-source-plugin.noarch
How To Uninstall maven-source-plugin.noarch on Amazon Linux 2
To uninstall only the maven-source-plugin.noarch package we can use the following command:
sudo yum remove maven-source-plugin.noarch
maven-source-plugin.noarch Package Contents on Amazon Linux 2
/usr/share/doc/maven-source-plugin-2.2.1
/usr/share/doc/maven-source-plugin-2.2.1/LICENSE
/usr/share/doc/maven-source-plugin-2.2.1/NOTICE
/usr/share/java/maven-source-plugin.jar
/usr/share/maven-effective-poms/JPP-maven-source-plugin.pom
/usr/share/maven-fragments/maven-source-plugin.xml
/usr/share/maven-poms/JPP-maven-source-plugin.pom
References
Summary
In this tutorial we learn how to install maven-source-plugin.noarch on Amazon Linux 2 using yum.