public class VersionTxtRule extends Object implements org.apache.maven.enforcer.rule.api.EnforcerRule
Only the "jetty-project" artifact is checked.
If the project version is SNAPSHOT, then this rule is skipped.
Constructor and Description |
---|
VersionTxtRule() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper) |
String |
getCacheId() |
boolean |
isCacheable() |
boolean |
isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule arg0) |
public void execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper) throws org.apache.maven.enforcer.rule.api.EnforcerRuleException
execute
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
org.apache.maven.enforcer.rule.api.EnforcerRuleException
public String getCacheId()
getCacheId
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
public boolean isCacheable()
isCacheable
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
public boolean isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule arg0)
isResultValid
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
Copyright © 1995–2016 Mort Bay Consulting. All rights reserved.