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

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

Introduction

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

What is maven-plugin-bundle.noarch

Provides a maven plugin that supports creating an OSGi bundle from the contents of the compilation classpath along with its resources and dependencies. Plus a zillion other features.

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

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

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

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

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

sudo yum remove maven-plugin-bundle.noarch

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

/usr/share/doc/maven-plugin-bundle-2.3.7
/usr/share/doc/maven-plugin-bundle-2.3.7/DEPENDENCIES
/usr/share/doc/maven-plugin-bundle-2.3.7/LICENSE
/usr/share/doc/maven-plugin-bundle-2.3.7/NOTICE
/usr/share/java/maven-plugin-bundle.jar
/usr/share/maven-effective-poms/JPP-maven-plugin-bundle.pom
/usr/share/maven-fragments/maven-plugin-bundle.xml
/usr/share/maven-poms/JPP-maven-plugin-bundle.pom

References

Summary

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