How To Install maven-site-plugin.noarch on Amazon Linux 2

In this tutorial we learn how to install maven-site-plugin.noarch in Amazon Linux 2. maven-site-plugin.noarch is Maven Site Plugin

Introduction

In this tutorial we learn how to install maven-site-plugin.noarch on Amazon Linux 2.

What is maven-site-plugin.noarch

The Maven Site Plugin is a plugin that generates a site for the current project.

We can use yum to install maven-site-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-site-plugin.noarch.

Install maven-site-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-site-plugin.noarch using yum by running the following command:

sudo yum -y install maven-site-plugin.noarch

How To Uninstall maven-site-plugin.noarch on Amazon Linux 2

To uninstall only the maven-site-plugin.noarch package we can use the following command:

sudo yum remove maven-site-plugin.noarch

maven-site-plugin.noarch Package Contents on Amazon Linux 2

/usr/share/doc/maven-site-plugin-3.2
/usr/share/doc/maven-site-plugin-3.2/LICENSE
/usr/share/doc/maven-site-plugin-3.2/NOTICE
/usr/share/java/maven-site-plugin/maven-site-plugin.jar
/usr/share/maven-effective-poms/JPP.maven-site-plugin-maven-site-plugin.pom
/usr/share/maven-fragments/maven-site-plugin.xml
/usr/share/maven-poms/JPP.maven-site-plugin-maven-site-plugin.pom

References

Summary

In this tutorial we learn how to install maven-site-plugin.noarch on Amazon Linux 2 using yum.