The Apache Maven team is pleased to announce the release of the Apache Maven Enforcer Plugin, version 3.5.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.5.0</version> <plugin> You can download the appropriate sources etc. from the download page: https://maven.apache.org/enforcer/download.html Release Notes - Maven Enforcer Plugin - Version 3.5.0 ** Bug * [MENFORCER-503] - requireOS cause NPE with Maven 3.9.7 ** New Feature * [MENFORCER-500] - New rule: Maven coordinates must match pattern ** Improvement * [MENFORCER-490] - Properly declare dependencies * [MENFORCER-494] - Allow banning dynamic versions before computing the final dependency tree ** Dependency upgrade * [MENFORCER-492] - Bump plexus-utils from 3.5.1 to 4.0.0 and plexus-xml 3.0.0 * [MENFORCER-497] - Require Maven 3.6.3+ * [MENFORCER-498] - Upgrade parent POM to version 41 * [MENFORCER-501] - Update commons dependencies * [MENFORCER-504] - Upgrade Parent to 42 Enjoy, -The Apache Maven team