How To Install maven-archetype-packaging on Fedora 36

In this tutorial we learn how to install maven-archetype-packaging in Fedora 36. maven-archetype-packaging is Maven Archetype packaging configuration for archetypes

Introduction

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

What is maven-archetype-packaging

Maven Archetype packaging configuration for archetypes.

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

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

sudo dnf -y install maven-archetype-packaging

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

sudo yum -y install maven-archetype-packaging

How To Uninstall maven-archetype-packaging on Fedora 36

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

sudo dnf remove maven-archetype-packaging

maven-archetype-packaging Package Contents on Fedora 36

/usr/share/java/maven-archetype
/usr/share/java/maven-archetype/archetype-packaging.jar
/usr/share/maven-metadata/maven-archetype-archetype-packaging.xml
/usr/share/maven-poms/maven-archetype
/usr/share/maven-poms/maven-archetype/archetype-packaging.pom

References

Summary

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