How To Install xmvn-mojo on Fedora 36

In this tutorial we learn how to install xmvn-mojo in Fedora 36. xmvn-mojo is XMvn MOJO

Introduction

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

What is xmvn-mojo

This package provides XMvn MOJO, which is a Maven plugin that consists of several MOJOs. Some goals of these MOJOs are intended to be attached to default Maven lifecycle when building packages, others can be called directly from Maven command line.

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

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

sudo dnf -y install xmvn-mojo

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

sudo yum -y install xmvn-mojo

How To Uninstall xmvn-mojo on Fedora 36

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

sudo dnf remove xmvn-mojo

xmvn-mojo Package Contents on Fedora 36

/usr/share/java/xmvn
/usr/share/java/xmvn/xmvn-mojo.jar
/usr/share/maven-metadata/xmvn-mojo.xml
/usr/share/maven-poms/xmvn
/usr/share/maven-poms/xmvn/xmvn-mojo.pom

References

Summary

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