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

In this tutorial we learn how to install maven-dependency-plugin.noarch in Amazon Linux 2. maven-dependency-plugin.noarch is Plugin to manipulate, copy and unpack local and remote artifacts

Introduction

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

What is maven-dependency-plugin.noarch

The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote repositories to a specified location.

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

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

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

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

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

sudo yum remove maven-dependency-plugin.noarch

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

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

References

Summary

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