How To Install mojo-executor on Fedora 36

In this tutorial we learn how to install mojo-executor in Fedora 36. mojo-executor is Execute other plugins within a maven plugin

Introduction

In this tutorial we learn how to install mojo-executor on Fedora 36.

What is mojo-executor

The Mojo Executor provides a way to to execute other Mojos (plugins) within a Maven plugin, allowing you to easily create Maven plugins that are composed of other plugins.

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

Install mojo-executor 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 mojo-executor using dnf by running the following command:

sudo dnf -y install mojo-executor

Install mojo-executor 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 mojo-executor using yum by running the following command:

sudo yum -y install mojo-executor

How To Uninstall mojo-executor on Fedora 36

To uninstall only the mojo-executor package we can use the following command:

sudo dnf remove mojo-executor

mojo-executor Package Contents on Fedora 36

/usr/share/doc/mojo-executor
/usr/share/doc/mojo-executor/README.md
/usr/share/java/mojo-executor
/usr/share/java/mojo-executor/mojo-executor.jar
/usr/share/licenses/mojo-executor
/usr/share/licenses/mojo-executor/LICENSE.txt
/usr/share/maven-metadata/mojo-executor-mojo-executor.xml
/usr/share/maven-poms/mojo-executor
/usr/share/maven-poms/mojo-executor/mojo-executor.pom

References

Summary

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