|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule
org.apache.maven.plugins.enforcer.AbstractNonCacheableEnforcerRule
org.apache.maven.plugins.enforcer.RequireNoRepositories
public class RequireNoRepositories
This rule checks that this pom or its parents don't define a repository.
| Field Summary | |
|---|---|
java.util.List |
allowedPluginRepositories
Specify explicitly allowed plugin repositories. |
java.util.List |
allowedRepositories
Specify explicitly allowed non-plugin repositories. |
boolean |
allowSnapshotPluginRepositories
Whether to allow plugin repositories which only resolve snapshots. |
boolean |
allowSnapshotRepositories
Whether to allow repositories which only resolve snapshots. |
boolean |
banPluginRepositories
Whether to ban plugin repositories. |
boolean |
banRepositories
Whether to ban non-plugin repositories. |
| Fields inherited from class org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule |
|---|
message |
| Constructor Summary | |
|---|---|
RequireNoRepositories()
|
|
| Method Summary | |
|---|---|
void |
execute(EnforcerRuleHelper helper)
This is the interface into the rule. |
| Methods inherited from class org.apache.maven.plugins.enforcer.AbstractNonCacheableEnforcerRule |
|---|
getCacheId, isCacheable, isResultValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean banRepositories
public boolean banPluginRepositories
public java.util.List allowedRepositories
public java.util.List allowedPluginRepositories
public boolean allowSnapshotRepositories
public boolean allowSnapshotPluginRepositories
| Constructor Detail |
|---|
public RequireNoRepositories()
| Method Detail |
|---|
public void execute(EnforcerRuleHelper helper)
throws EnforcerRuleException
EnforcerRule
helper - The helper provides access to the log, MavenSession and has
helpers to get common components. It is also able to lookup components
by class name.
EnforcerRuleException - the enforcer rule exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||