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

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

Introduction

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

What is maven-script-beanshell.noarch

This package provides Maven Beanshell Mojo Support, which write Maven plugins with Beanshell scripts.

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

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

sudo yum -y install maven-script-beanshell.noarch

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

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

sudo yum remove maven-script-beanshell.noarch

maven-script-beanshell.noarch Package Contents on Amazon Linux 2

/usr/share/java/maven-plugin-tools/maven-script-beanshell.jar
/usr/share/maven-effective-poms/JPP.maven-plugin-tools-maven-script-beanshell.pom
/usr/share/maven-fragments/maven-plugin-tools-maven-script-beanshell.xml
/usr/share/maven-poms/JPP.maven-plugin-tools-maven-script-beanshell.pom

References

Summary

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