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

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

Introduction

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

What is maven-resources-plugin.noarch

The Resources Plugin handles the copying of project resources to the output directory.

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

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

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

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

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

sudo yum remove maven-resources-plugin.noarch

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

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

References

Summary

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