How To Install munge-maven-plugin.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install munge-maven-plugin.noarch on Amazon Linux 2.
What is munge-maven-plugin.noarch
Munge is a purposely-simple Java preprocessor. It only supports conditional inclusion of source based on defined strings of the form “if[tag]”, “if_not[tag]”, “else[tag]”, and “end[tag]”. Unlike traditional preprocessors, comments, and formatting are all preserved for the included lines. This is on purpose, as the output of Munge will be distributed as human-readable source code. To avoid creating a separate Java dialect, the conditional tags are contained in Java comments. This allows one build to compile the source files without pre-processing, to facilitate faster incremental development. Other builds from the same source have their code contained within that comment. The format of the tags is a little verbose, so that the tags won’t accidentally be used by other comment readers such as javadoc. Munge tags must be in C-style comments; C++-style comments may be used to comment code within a comment. Like any preprocessor, developers must be careful not to abuse its capabilities so that their code becomes unreadable. Please use it as little as possible.
We can use yum to install munge-maven-plugin.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install munge-maven-plugin.noarch.
Install munge-maven-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 munge-maven-plugin.noarch using yum by running the following command:
sudo yum -y install munge-maven-plugin.noarch
How To Uninstall munge-maven-plugin.noarch on Amazon Linux 2
To uninstall only the munge-maven-plugin.noarch package we can use the following command:
sudo yum remove munge-maven-plugin.noarch
munge-maven-plugin.noarch Package Contents on Amazon Linux 2
/usr/share/doc/munge-maven-plugin-1.0
/usr/share/doc/munge-maven-plugin-1.0/LICENSE
/usr/share/doc/munge-maven-plugin-1.0/README
/usr/share/java/munge-maven-plugin/munge-maven-plugin.jar
/usr/share/maven-effective-poms/JPP.munge-maven-plugin-munge-maven-plugin.pom
/usr/share/maven-fragments/munge-maven-plugin.xml
/usr/share/maven-poms/JPP.munge-maven-plugin-munge-maven-plugin.pom
References
Summary
In this tutorial we learn how to install munge-maven-plugin.noarch on Amazon Linux 2 using yum.