The Apache Maven team is pleased to announce the release of the Apache Maven Enforcer Plugin, version 3.1.0
This plugin provides goals to control certain environmental constraints such as Maven version, JDK version and OS family along with many more built-in rules and user created rules. https://maven.apache.org/enforcer/maven-enforcer-plugin/ You should specify the version in your project's plugin configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.1.0</version> <plugin> You can download the appropriate sources etc. from the download page: https://maven.apache.org/enforcer/download.cgi Release Notes - Maven Enforcer Plugin - Version 3.1.0 ** Bug * [MENFORCER-389] - Exclusions are not considered when looking at parent for requireReleaseDeps * [MENFORCER-391] - requireUpperBoundDeps does not fail when packaging is 'war' * [MENFORCER-394] - DependencyConvergence in 3.0.0 fails on provided scoped dependencies * [MENFORCER-395] - NPE on requireReleaseDeps with non-matching includes * [MENFORCER-402] - RequireUpperBoundDeps now follow scope provided transitive dependencies * [MENFORCER-421] - Use currently build artifacts in IT tests ** Improvement * [MENFORCER-404] - Shared GitHub Actions * [MENFORCER-409] - Log at ERROR level when <fail> is set * [MENFORCER-420] - Reuse getDependenciesToCheck results across rules ** Dependency upgrade * [MENFORCER-372] - Switch to JUnit5 * [MENFORCER-403] - Upgrade aether-util > maven-core > enforcer * [MENFORCER-418] - Upgrade Parent to 36 * [MENFORCER-419] - Upgrade Maven to 3.2.5 Enjoy, -The Apache Maven team