How To Install maven-common-artifact-filters.noarch on Amazon Linux 2

In this tutorial we learn how to install maven-common-artifact-filters.noarch in Amazon Linux 2. maven-common-artifact-filters.noarch is Maven Common Artifact Filters

Introduction

In this tutorial we learn how to install maven-common-artifact-filters.noarch on Amazon Linux 2.

What is maven-common-artifact-filters.noarch

A collection of ready-made filters to control inclusion/exclusion of artifacts during dependency resolution.

We can use yum to install maven-common-artifact-filters.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install maven-common-artifact-filters.noarch.

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

sudo yum -y install maven-common-artifact-filters.noarch

How To Uninstall maven-common-artifact-filters.noarch on Amazon Linux 2

To uninstall only the maven-common-artifact-filters.noarch package we can use the following command:

sudo yum remove maven-common-artifact-filters.noarch

maven-common-artifact-filters.noarch Package Contents on Amazon Linux 2

/usr/share/doc/maven-common-artifact-filters-1.4
/usr/share/doc/maven-common-artifact-filters-1.4/LICENSE
/usr/share/doc/maven-common-artifact-filters-1.4/NOTICE
/usr/share/java/maven-common-artifact-filters/maven-common-artifact-filters.jar
/usr/share/maven-effective-poms/JPP.maven-common-artifact-filters-maven-common-artifact-filters.pom
/usr/share/maven-fragments/maven-common-artifact-filters.xml
/usr/share/maven-poms/JPP.maven-common-artifact-filters-maven-common-artifact-filters.pom

References

Summary

In this tutorial we learn how to install maven-common-artifact-filters.noarch on Amazon Linux 2 using yum.