How To Install munge-maven-plugin on Fedora 36
Introduction
In this tutorial we learn how to install munge-maven-plugin
on Fedora 36.
What is munge-maven-plugin
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
or dnf
to install munge-maven-plugin
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install munge-maven-plugin.
Install munge-maven-plugin on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install munge-maven-plugin
using dnf
by running the following command:
sudo dnf -y install munge-maven-plugin
Install munge-maven-plugin on Fedora 36 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
using yum
by running the following command:
sudo yum -y install munge-maven-plugin
How To Uninstall munge-maven-plugin on Fedora 36
To uninstall only the munge-maven-plugin
package we can use the following command:
sudo dnf remove munge-maven-plugin
munge-maven-plugin Package Contents on Fedora 36
/usr/share/doc/munge-maven-plugin
/usr/share/doc/munge-maven-plugin/README
/usr/share/java/munge-maven-plugin
/usr/share/java/munge-maven-plugin/munge-maven-plugin.jar
/usr/share/licenses/munge-maven-plugin
/usr/share/licenses/munge-maven-plugin/LICENSE
/usr/share/maven-metadata/munge-maven-plugin.xml
/usr/share/maven-poms/munge-maven-plugin
/usr/share/maven-poms/munge-maven-plugin/munge-maven-plugin.pom
References
Summary
In this tutorial we learn how to install munge-maven-plugin
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).