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

In this tutorial we learn how to install maven-artifact.noarch in Amazon Linux 2. maven-artifact.noarch is Compatibility Maven artifact artifact

Introduction

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

What is maven-artifact.noarch

Maven artifact manager artifact

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

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

sudo yum -y install maven-artifact.noarch

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

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

sudo yum remove maven-artifact.noarch

maven-artifact.noarch Package Contents on Amazon Linux 2

/usr/share/doc/maven-artifact-2.2.1
/usr/share/doc/maven-artifact-2.2.1/LICENSE.txt
/usr/share/doc/maven-artifact-2.2.1/NOTICE.txt
/usr/share/java/maven/maven-artifact-2.0.2.jar
/usr/share/java/maven/maven-artifact-2.0.6.jar
/usr/share/java/maven/maven-artifact-2.0.7.jar
/usr/share/java/maven/maven-artifact-2.0.8.jar
/usr/share/java/maven/maven-artifact-2.2.1.jar
/usr/share/maven-effective-poms/JPP.maven-maven-artifact-2.0.2.pom
/usr/share/maven-effective-poms/JPP.maven-maven-artifact-2.0.6.pom
/usr/share/maven-effective-poms/JPP.maven-maven-artifact-2.0.7.pom
/usr/share/maven-effective-poms/JPP.maven-maven-artifact-2.0.8.pom
/usr/share/maven-effective-poms/JPP.maven-maven-artifact-2.2.1.pom
/usr/share/maven-fragments/maven2-maven-artifact.xml
/usr/share/maven-poms/JPP.maven-maven-artifact-2.0.2.pom
/usr/share/maven-poms/JPP.maven-maven-artifact-2.0.6.pom
/usr/share/maven-poms/JPP.maven-maven-artifact-2.0.7.pom
/usr/share/maven-poms/JPP.maven-maven-artifact-2.0.8.pom
/usr/share/maven-poms/JPP.maven-maven-artifact-2.2.1.pom

References

Summary

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