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

In this tutorial we learn how to install maven-script.noarch in Amazon Linux 2. maven-script.noarch is Maven Script Mojo Support

Introduction

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

What is maven-script.noarch

Maven Script Mojo Support lets developer write Maven plugins/goals with scripting languages instead of compiled Java.

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

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

sudo yum -y install maven-script.noarch

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

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

sudo yum remove maven-script.noarch

maven-script.noarch Package Contents on Amazon Linux 2

/usr/share/maven-fragments/maven-plugin-tools-maven-script.xml
/usr/share/maven-poms/JPP.maven-plugin-tools-maven-script.pom

References

Summary

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