You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brian Fox <br...@infinity.nu> on 2010/11/09 02:43:28 UTC

[ANN] Maven Enforcer Plugin 1.0

The Maven team is pleased to announce the release of the Maven
Enforcer Plugin, version 1.0

Maven Enforcer Plugin - The Loving Iron Fist of Maven™ The Enforcer
plugin provides goals to control certain environmental constraints
such as Maven version, JDK version and OS family along with many more
standard rules and user created rules.

http://maven.apache.org/plugins/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>1.0</version>
</plugin>


 Release Notes - Maven 2.x Enforcer Plugin - Version 1.0
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11530&version=13616

** Bug
    * [MENFORCER-71] - Documentation: wrong usage of
unCheckedPluginsList option in sample
    * [MENFORCER-76] - Documentation for regex on requireProperty
incorrectly includes quotes around regex
    * [MENFORCER-77] - "Require Release Version" rule does not have
documented parameter "onlyWhenRelease"
    * [MENFORCER-82] - Project site does not provide valid examples
    * [MENFORCER-101] - Enforcer does not allow to restrict based on
SNAPSHOT version as version comparison uses artifact.getVersion()
instead of artifact.getBaseVersion()
    * [MENFORCER-102] - Several minor site-bugs
    * [MENFORCER-104] - Specifying a message with an alwaysFail rule
doesn't work
    * [MENFORCER-105] - requirePluginVersions rule doesn't work with
POM named other than pom.xml
    * [MENFORCER-108] - Documentation/Typo : 'unCheckedPluginsList' is
written instead of 'unCheckedPluginList'
    * [MENFORCER-109] - Error in logged output message from
dependency-convergence rule, make the rule less usable

** Improvement
    * [MENFORCER-72] - Add scope to bannedDependencies rule
    * [MENFORCER-73] - Display dependency "path" when
bannedDependencies rule fails
    * [MENFORCER-87] - enhance requireNoRepositories to permit
allowing any Snapshot only repos
    * [MENFORCER-107] - An enforcer rule that demands developers
ensure all dependency (and transitive dependency) version numbers
converge

** New Feature
    * [MENFORCER-81] - Create a banned plugins rule
    * [MENFORCER-85] - Ability to exclude modules of multi-module
project from requireReleaseDeps rule


Enjoy,

-The Maven team

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org