The Apache Maven team is pleased to announce the release of the Apache  
Maven Enforcer Plugin, version 3.0.0-M3

The Enforcer 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.0.0-M3</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.0.0-M3

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317520&version=12330768

Bugs:

 * [MENFORCER-234] - Link to plugin's web site is reported as redirected by 
maven linkcheck plugin.
 * [MENFORCER-239] - Fix link in navigation 
(enforcer/maven-enforcer-plugin/index.html) RESOURCES
 * [MENFORCER-240] - Link to page does not work
 * [MENFORCER-265] - Get site generation working
 * [MENFORCER-268] - Usage of CI friendly version placeholders does not work
 * [MENFORCER-274] - Use of RequireJavaVersion with Java-9 breaking starting at 
b175
 * [MENFORCER-281] - RequirePluginVersions broken with "CI Friendly versions"
 * [MENFORCER-306] - [REGRESSION] RequirePluginVersions fails
 * [MENFORCER-314] - DependencyConvergence fails sporadically with a null 
message
 * [MENFORCER-317] - RequireFileChecksum ignores configured message
 * [MENFORCER-319] - UTF-8 BOM in pom.xml breaks 
banDuplicatePomDependencyVersions rule
 * [MENFORCER-320] - RequireProfileIdsExist check fails if no profiles have 
been specified
 * [MENFORCER-321] - RequirePluginVersions check works wrong on multi-module 
projects
 * [MENFORCER-322] - requireProfileIdsExist triggers if profile is defined at 
parent

New Features:

 * [MENFORCER-142] - Specify enforcer rule in command line without modifying 
any pom
 * [MENFORCER-204] - Add new rule: should be able to make sure that project 
artifact is a Snapshot
 * [MENFORCER-247] - Add a "require file checksum" rule
 * [MENFORCER-273] - RequireUpperBoundDeps.excludes
 * [MENFORCER-282] - Add RequireProfileIdsExist to ensure al mentioned cmdline 
profiles exist

Improvements:

 * [MENFORCER-228] - DependencyConvergence: Simplify logging errors
 * [MENFORCER-259] - The rule BanDuplicatePomDependencyVersions is not 
documented
 * [MENFORCER-266] - Remove usage of prerequisites in parent pom
 * [MENFORCER-291] - Cleanup ReactorModuleConvergence implementation
 * [MENFORCER-292] - Remove getModelsRecursively from EnforcerRuleUtils
 * [MENFORCER-293] - Remove deprecated marked ignoreParent from 
BanDistributionManagement
 * [MENFORCER-305] - Add documentation information for GitHub
 * [MENFORCER-315] - Add thirdparty rules page to the enforcer site
 * [MENFORCER-324] - Shouldn't we use System.lineSeparator() instead of \n ?
 * [MENFORCER-328] - Lift JDK Minimum to 7

Tasks:

 * [MENFORCER-221] - Removed deprecated marked constructor from 
EnforcerExpressionEvaluator
 * [MENFORCER-272] - Allow site generation to work
 * [MENFORCER-284] - switch to Git
 * [MENFORCER-296] - Update URL for CI System

Dependency upgrades:

 * [MENFORCER-253] - Upgrade maven-shared-components parent to version 30
 * [MENFORCER-263] - Upgrade mrm-maven-plugin to 1.0.0
 * [MENFORCER-278] - Upgrade mockito to 2.X to prevent JDK 9 WARNINGs
 * [MENFORCER-289] - Upgrade maven-plugin-plugin to 3.5
 * [MENFORCER-290] - Upgrade plexus-utils 3.1.0
 * [MENFORCER-297] - Upgrade parent to 31
 * [MENFORCER-303] - Upgrade mave-surefire/failsafe-plugin 2.21.0
 * [MENFORCER-312] - Upgrade maven-parent to 33
 * [MENFORCER-331] - Maven-enforcer-plugin's use of aether-util in transitive 
dependency
 * [MENFORCER-339] - Upgrade extra-enforcer-rules to 1.2.
 * [MENFORCER-340] - Upgrade plexus-utils 3.3.0
 * [MENFORCER-341] - Upgrade mockito-corre to 2.28.2
 * [MENFORCER-342] - Upgrade commons-codec to 1.12
 * [MENFORCER-343] - Upgrade maven-commons-artifact-filters to 3.1.0
 * [MENFORCER-344] - Upgrade commons-lang3 to 3.8.1
 * [MENFORCER-345] - Upgrade maven-resolver to 1.4.1


Enjoy,

-The Apache Maven team


Reply via email to