How To Install maven-archetype-common on Fedora 36

In this tutorial we learn how to install maven-archetype-common in Fedora 36. maven-archetype-common is Maven Archetype common classes

Introduction

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

What is maven-archetype-common

Maven Archetype common classes.

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

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

sudo dnf -y install maven-archetype-common

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

sudo yum -y install maven-archetype-common

How To Uninstall maven-archetype-common on Fedora 36

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

sudo dnf remove maven-archetype-common

maven-archetype-common Package Contents on Fedora 36

/usr/share/java/maven-archetype
/usr/share/java/maven-archetype/archetype-common.jar
/usr/share/licenses/maven-archetype-common
/usr/share/licenses/maven-archetype-common/LICENSE
/usr/share/licenses/maven-archetype-common/NOTICE
/usr/share/maven-metadata/maven-archetype-archetype-common.xml
/usr/share/maven-poms/maven-archetype
/usr/share/maven-poms/maven-archetype/archetype-common.pom

References

Summary

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