How to Install and Uninstall libmaven-enforcer-plugin-java Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 26,2024

1. Install "libmaven-enforcer-plugin-java" package

This tutorial shows how to install libmaven-enforcer-plugin-java on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libmaven-enforcer-plugin-java

2. Uninstall "libmaven-enforcer-plugin-java" package

In this section, we are going to explain the necessary steps to uninstall libmaven-enforcer-plugin-java on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libmaven-enforcer-plugin-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the libmaven-enforcer-plugin-java package on Ubuntu 21.04 (Hirsute Hippo)

Package: libmaven-enforcer-plugin-java
Architecture: all
Version: 3.0.0~M2-1
Priority: optional
Section: universe/java
Source: maven-enforcer
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 175
Depends: libbsh-java (>= 2.0b4), libcommons-codec-java (>= 1.11), libcommons-lang3-java (>= 3.8), libmaven-common-artifact-filters-java (>= 3.0.1), libmaven-dependency-tree-java (>= 3.0.1), libmaven3-core-java (>= 3.5.3), libplexus-container-default-java, libplexus-utils-java
Filename: pool/universe/m/maven-enforcer/libmaven-enforcer-plugin-java_3.0.0~M2-1_all.deb
Size: 114900
MD5sum: 242209cc75d69a7f62d8bf2bf62ac7de
SHA1: c9a7a26ff0973e373f613925e9b32fd661891a36
SHA256: 48bd29d55da0892768287c9d2a501e6fe802e360f982b8e4e27636893c67fc8d
SHA512: f34b6f769ea58218956009002575de6fcab73525de596484f89a8ff1d84cb9a46722ed1a2ca11907acbb7e5691478f26573a61ae6d144698653f708e9af509bb
Homepage: https://maven.apache.org/enforcer/maven-enforcer-plugin/
Description-en: Maven build rule execution framework
Enforcer is a Maven build rule execution framework.
Maven Enforcer Plugin provides goals to control certain environmental
constraints such as Maven version, JDK version and OS family along with many
more standard rules:
* alwaysPass - Always passes... used to test plugin configuration.
* alwaysFail - Always fail... used to test plugin configuration.
* bannedDependencies - enforces that excluded dependencies aren't included.
* evaluateBeanshell - evaluates a beanshell script.
* requireReleaseDeps - enforces that no snapshots are included as
dependencies.
* requireReleaseVersion - enforces that the artifact is not a snapshot.
* requireMavenVersion - enforces the Maven version.
* requireJavaVersion - enforces the JDK version.
* requireOS - enforces the OS / CPU Archictecture.
* requirePluginVersions - enforces that all plugins have a specified version.
* requireProperty - enforces the existence and values of properties.
* requireFilesDontExist - enforces that the list of files do not exist.
* requireFilesExist - enforces that the list of files do exist.
* requireFilesSize - enforces that the list of files exist and are within a
certain size range.
Custom rules are easy to make with the maven-enforcer-rule-api.
Description-md5: c0d090850f16fffc77c7f0d0b89503c8