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

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

Introduction

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

What is maven-ear-plugin.noarch

Generates a J2EE Enterprise Archive (EAR) file.

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

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

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

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

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

sudo yum remove maven-ear-plugin.noarch

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

/usr/share/doc/maven-ear-plugin-2.8
/usr/share/doc/maven-ear-plugin-2.8/LICENSE
/usr/share/doc/maven-ear-plugin-2.8/NOTICE
/usr/share/java/maven-ear-plugin.jar
/usr/share/maven-fragments/maven-ear-plugin
/usr/share/maven-poms/JPP-maven-ear-plugin.pom

References

Summary

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