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

In this tutorial we learn how to install maven-hawtjni-plugin.noarch in Amazon Linux 2. maven-hawtjni-plugin.noarch is Use HawtJNI from a maven plugin

Introduction

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

What is maven-hawtjni-plugin.noarch

This package allows to use HawtJNI from a maven plugin.

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

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

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

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

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

sudo yum remove maven-hawtjni-plugin.noarch

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

/usr/share/doc/maven-hawtjni-plugin-1.6
/usr/share/doc/maven-hawtjni-plugin-1.6/license.txt
/usr/share/java/maven-hawtjni-plugin.jar
/usr/share/maven-effective-poms/JPP-maven-hawtjni-plugin.pom
/usr/share/maven-fragments/hawtjni-plugin.xml
/usr/share/maven-poms/JPP-maven-hawtjni-plugin.pom

References

Summary

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