You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2015/01/27 15:52:25 UTC
svn commit: r1655056 -
/maven/enforcer/trunk/maven-enforcer-plugin/src/site/apt/usage.apt.vm
Author: dennisl
Date: Tue Jan 27 14:52:24 2015
New Revision: 1655056
URL: http://svn.apache.org/r1655056
Log:
[MENFORCER-208] Remove deprecated goals.
Modified:
maven/enforcer/trunk/maven-enforcer-plugin/src/site/apt/usage.apt.vm
Modified: maven/enforcer/trunk/maven-enforcer-plugin/src/site/apt/usage.apt.vm
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/maven-enforcer-plugin/src/site/apt/usage.apt.vm?rev=1655056&r1=1655055&r2=1655056&view=diff
==============================================================================
--- maven/enforcer/trunk/maven-enforcer-plugin/src/site/apt/usage.apt.vm (original)
+++ maven/enforcer/trunk/maven-enforcer-plugin/src/site/apt/usage.apt.vm Tue Jan 27 14:52:24 2015
@@ -39,9 +39,9 @@ Usage
[]
-* The <<<enforcer:enforce>>> and <<<enforcer:enforce-once>>> mojos
+* The <<<enforcer:enforce>>> mojo
- These goals are meant to be bound to a lifecycle phase and configured in your
+ This goal is meant to be bound to a lifecycle phase and configured in your
<<<pom.xml>>>. The enforcers execute the configured rules to check for certain constraints.
The available standard rules are described {{{../enforcer-rules/index.html}here}}. Besides the rules to execute, these goals support three options:
@@ -58,10 +58,7 @@ Usage
As of version 2.0 you may add a <<<level>>> element to the standard rules. Valid values are <<<WARN>>> and <<<ERROR>>>. When
<<<level>>> <<<WARN>>> is specified, the rule will only spit out a warning but will not fail the build.
- The <<<enforce>>> goal executes against each project in a multi-project build. The <<<enforce-once>>> goal executes
- just once per build. This is most effective for the standard rules because the Maven, Java and OS versions will not change between projects in the same build.
-
-
+
Sample Plugin Configuration:
+---+