How To Install maven-wagon on Fedora 36

In this tutorial we learn how to install maven-wagon in Fedora 36. maven-wagon is Tools to manage artifacts and deployment

Introduction

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

What is maven-wagon

Maven Wagon is a transport abstraction that is used in Maven’s artifact and repository handling code. Currently wagon has the following providers * File * HTTP * FTP * SSH/SCP * WebDAV * SCM (in progress)

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

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

sudo dnf -y install maven-wagon

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

sudo yum -y install maven-wagon

How To Uninstall maven-wagon on Fedora 36

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

sudo dnf remove maven-wagon

maven-wagon Package Contents on Fedora 36

/usr/share/doc/maven-wagon
/usr/share/doc/maven-wagon/DEPENDENCIES
/usr/share/java/maven-wagon
/usr/share/java/maven-wagon/file.jar
/usr/share/java/maven-wagon/http-shared.jar
/usr/share/java/maven-wagon/http.jar
/usr/share/java/maven-wagon/provider-api.jar
/usr/share/licenses/maven-wagon
/usr/share/licenses/maven-wagon/LICENSE
/usr/share/licenses/maven-wagon/NOTICE
/usr/share/maven-metadata/maven-wagon.xml
/usr/share/maven-poms/maven-wagon
/usr/share/maven-poms/maven-wagon/file.pom
/usr/share/maven-poms/maven-wagon/http-shared.pom
/usr/share/maven-poms/maven-wagon/http.pom
/usr/share/maven-poms/maven-wagon/provider-api.pom
/usr/share/maven-poms/maven-wagon/providers.pom
/usr/share/maven-poms/maven-wagon/wagon.pom

References

Summary

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