How To Install maven-jarsigner-plugin on CentOS 7
Introduction
In this tutorial we learn how to install maven-jarsigner-plugin
on CentOS 7.
What is maven-jarsigner-plugin
This plugin provides the capability to sign or verify a project artifact and attachments using jarsigner. If you need to sign a project artifact and all attached artifacts, just configure the sign goal appropriately in your pom.xml for the signing to occur automatically during the package phase. If you need to verify the signatures of a project artifact and all attached artifacts, just configure the verify goal appropriately in your pom.xml for the verification to occur automatically during the verify phase.
We can use yum
or dnf
to install maven-jarsigner-plugin
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install maven-jarsigner-plugin.
Install maven-jarsigner-plugin on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install maven-jarsigner-plugin
using yum
by running the following command:
Install maven-jarsigner-plugin on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install maven-jarsigner-plugin
using dnf
by running the following command:
How To Uninstall maven-jarsigner-plugin on CentOS 7
To uninstall only the maven-jarsigner-plugin
package we can use the following command:
References
Summary
In this tutorial we learn how to install maven-jarsigner-plugin
on CentOS 7 using yum
and dnf
.