public class TestRequireNoRepositories extends Object
Constructor and Description |
---|
TestRequireNoRepositories() |
Modifier and Type | Method and Description |
---|---|
void |
before() |
void |
testAllBannedNoRepositories()
This model contains a single module maven project without any repository.
|
void |
testAllBannedWithAllowedPluginRepositories()
This model contains a single plugin repository.
|
void |
testAllBannedWithAllowedRepositories()
The model contains a single repository which is allowed by setting allowedRepositories to the id.
|
void |
testAllBannedWithEmptyPluginRepository() |
void |
testAllBannedWithEmptyRepository() |
void |
testAllBannedWithPluginRepository()
The model contains a single plugin repository which is is not allowed by the default rules.
|
void |
testAllBannedWithRepository()
The model contains a single repository which is is not allowed by the default rules.
|
void |
testAllBannedWithSnapshotPluginRepositoryAndSetAllowSnapshotPluginRepositories() |
void |
testAllBannedWithSnapshotRepository() |
void |
testAllBannedWithSnapshotRepositoryAllowedRepositories() |
void |
testAllBannedWithSnapshotRepositoryAndSetAllowSnapshotRepositories() |
void |
testPluginRepositoriesNotBannedWithOutAnyRepository()
The model contains no repository at all.
|
void |
testPluginRepositoriesNotBannedWithSinglePluginRepository()
The model contains a single plugin repository.
|
void |
testRepositoriesNotBannedWithOutAnyRepository()
The model contains no repository at all.
|
void |
testRepositoriesNotBannedWithSingleRepository()
The model contains a single repository.
|
public TestRequireNoRepositories()
public void before() throws org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException
org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException
public void testAllBannedNoRepositories() throws EnforcerRuleException
EnforcerRuleException
public void testAllBannedWithRepository() throws EnforcerRuleException
EnforcerRuleException
public void testAllBannedWithPluginRepository() throws EnforcerRuleException
EnforcerRuleException
public void testAllBannedWithAllowedRepositories() throws EnforcerRuleException
EnforcerRuleException
public void testRepositoriesNotBannedWithSingleRepository() throws EnforcerRuleException
EnforcerRuleException
public void testRepositoriesNotBannedWithOutAnyRepository() throws EnforcerRuleException
EnforcerRuleException
public void testAllBannedWithAllowedPluginRepositories() throws EnforcerRuleException
EnforcerRuleException
public void testPluginRepositoriesNotBannedWithSinglePluginRepository() throws EnforcerRuleException
EnforcerRuleException
public void testPluginRepositoriesNotBannedWithOutAnyRepository() throws EnforcerRuleException
EnforcerRuleException
public void testAllBannedWithSnapshotRepository() throws EnforcerRuleException
EnforcerRuleException
public void testAllBannedWithSnapshotRepositoryAllowedRepositories() throws EnforcerRuleException
EnforcerRuleException
public void testAllBannedWithSnapshotRepositoryAndSetAllowSnapshotRepositories() throws EnforcerRuleException
EnforcerRuleException
public void testAllBannedWithSnapshotPluginRepositoryAndSetAllowSnapshotPluginRepositories() throws EnforcerRuleException
EnforcerRuleException
public void testAllBannedWithEmptyRepository() throws EnforcerRuleException
EnforcerRuleException
public void testAllBannedWithEmptyPluginRepository() throws EnforcerRuleException
EnforcerRuleException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.