How To Install maven-antrun-plugin on Fedora 36

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

Introduction

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

What is maven-antrun-plugin

This plugin provides the ability to run Ant tasks from within Maven. It is even possible to embed Ant scripts in the POM.

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

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

sudo dnf -y install maven-antrun-plugin

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

sudo yum -y install maven-antrun-plugin

How To Uninstall maven-antrun-plugin on Fedora 36

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

sudo dnf remove maven-antrun-plugin

maven-antrun-plugin Package Contents on Fedora 36

/usr/share/doc/maven-antrun-plugin
/usr/share/doc/maven-antrun-plugin/LICENSE
/usr/share/doc/maven-antrun-plugin/NOTICE
/usr/share/java/maven-antrun-plugin
/usr/share/java/maven-antrun-plugin/maven-antrun-plugin.jar
/usr/share/maven-metadata/maven-antrun-plugin.xml
/usr/share/maven-poms/maven-antrun-plugin
/usr/share/maven-poms/maven-antrun-plugin/maven-antrun-plugin.pom

References

Summary

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