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

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

Introduction

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

What is maven-antrun-plugin.noarch

Runs Ant scripts embedded in the POM

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

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

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

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

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

sudo yum remove maven-antrun-plugin.noarch

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

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

References

Summary

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