How To Install string-template-maven-plugin on Fedora 36

In this tutorial we learn how to install string-template-maven-plugin in Fedora 36. string-template-maven-plugin is Execute StringTemplate files during a maven build

Introduction

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

What is string-template-maven-plugin

This plugin allows you to execute StringTemplate template files during your build. The values for templates can come from static declarations or from a Java class specified to be executed.

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

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

sudo dnf -y install string-template-maven-plugin

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

sudo yum -y install string-template-maven-plugin

How To Uninstall string-template-maven-plugin on Fedora 36

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

sudo dnf remove string-template-maven-plugin

string-template-maven-plugin Package Contents on Fedora 36

/usr/share/doc/string-template-maven-plugin
/usr/share/doc/string-template-maven-plugin/README.md
/usr/share/java/string-template-maven-plugin
/usr/share/java/string-template-maven-plugin/string-template-maven-plugin.jar
/usr/share/licenses/string-template-maven-plugin
/usr/share/licenses/string-template-maven-plugin/LICENSE
/usr/share/maven-metadata/string-template-maven-plugin-string-template-maven-plugin.xml
/usr/share/maven-poms/string-template-maven-plugin
/usr/share/maven-poms/string-template-maven-plugin/string-template-maven-plugin.pom

References

Summary

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