org.apache.maven.plugins.enforcer
Class AlwaysFail
java.lang.Object
org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule
org.apache.maven.plugins.enforcer.AbstractNonCacheableEnforcerRule
org.apache.maven.plugins.enforcer.AlwaysFail
public class AlwaysFail
- extends AbstractNonCacheableEnforcerRule
Always fail. This rule is useful for testing the Enforcer configuration, or to always fail the build if a particular
profile is enabled.
- Author:
- Ben Lidgey
Method Summary |
void |
execute(EnforcerRuleHelper helper)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysFail
public AlwaysFail()
execute
public void execute(EnforcerRuleHelper helper)
throws EnforcerRuleException
-
- Throws:
EnforcerRuleException
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.