This rule checks that this project's maven session whether have banned repositories.
Adapted from org.apache.maven.plugins.enforcer.BannedRepositories
.
Original author: Simon Wang
Type | Name and description |
---|---|
ListProperty<String> |
allowedRepositories |
ListProperty<String> |
bannedRepositories |
Property<Boolean> |
mavenLocalAllowed |
Constructor and description |
---|
BannedRepositories
(ObjectFactory objects) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
doExecute(EnforcerContext context) |
Methods inherited from class | Name |
---|---|
class AbstractFilteringEnforcerRule |
doValidate, execute, setPhases |
class AbstractEnforcerRule |
doExecute, doValidate, execute, fail, fail, fail, illegalArgumentException, illegalArgumentException, resolveClassName, setEnforcerLevel, validate |
Groovy Documentation