How To Install maven-compiler-plugin on Fedora 36

In this tutorial we learn how to install maven-compiler-plugin in Fedora 36. maven-compiler-plugin is Maven Compiler Plugin

Introduction

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

What is maven-compiler-plugin

The Compiler Plugin is used to compile the sources of your project.

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

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

sudo dnf -y install maven-compiler-plugin

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

sudo yum -y install maven-compiler-plugin

How To Uninstall maven-compiler-plugin on Fedora 36

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

sudo dnf remove maven-compiler-plugin

maven-compiler-plugin Package Contents on Fedora 36

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

References

Summary

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