How To Install pomchecker-maven-plugin on Fedora 36

In this tutorial we learn how to install pomchecker-maven-plugin in Fedora 36. pomchecker-maven-plugin is POM validation Maven plugin

Introduction

In this tutorial we learn how to install pomchecker-maven-plugin on Fedora 36.

What is pomchecker-maven-plugin

The PomChecker Maven plugin provides goals to check the contents of a POM file.

We can use yum or dnf to install pomchecker-maven-plugin on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pomchecker-maven-plugin.

Install pomchecker-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 pomchecker-maven-plugin using dnf by running the following command:

sudo dnf -y install pomchecker-maven-plugin

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

sudo yum -y install pomchecker-maven-plugin

How To Uninstall pomchecker-maven-plugin on Fedora 36

To uninstall only the pomchecker-maven-plugin package we can use the following command:

sudo dnf remove pomchecker-maven-plugin

pomchecker-maven-plugin Package Contents on Fedora 36

/usr/share/java/pomchecker
/usr/share/java/pomchecker/pomchecker-maven-plugin.jar
/usr/share/licenses/pomchecker-maven-plugin
/usr/share/licenses/pomchecker-maven-plugin/LICENSE
/usr/share/maven-metadata/pomchecker-pomchecker-maven-plugin.xml
/usr/share/maven-poms/pomchecker
/usr/share/maven-poms/pomchecker/pomchecker-maven-plugin.pom

References

Summary

In this tutorial we learn how to install pomchecker-maven-plugin on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).