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

In this tutorial we learn how to install maven-plugin-tools-annotations.noarch in Amazon Linux 2. maven-plugin-tools-annotations.noarch is Maven Plugin Tool for Annotations

Introduction

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

What is maven-plugin-tools-annotations.noarch

This package provides Java 5 annotation tools for use with Apache Maven.

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

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

sudo yum -y install maven-plugin-tools-annotations.noarch

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

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

sudo yum remove maven-plugin-tools-annotations.noarch

maven-plugin-tools-annotations.noarch Package Contents on Amazon Linux 2

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

References

Summary

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