public class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase
projectBuilder, repositorySystem
Constructor and Description |
---|
ProjectInheritanceTest() |
Modifier and Type | Method and Description |
---|---|
void |
testDependencyManagementExclusionDoesNotOverrideGloballyForTransitives()
Setup exactly the same as the above test, except that the child project
now depends upon d, which has a transitive dependency on c.
|
void |
testDependencyManagementExclusionsExcludeTransitively()
How the test project is set up:
1. dependencyManagement lists dependencies on a & b,
with an exclusion on c in b.
2. the child project lists a dependency on project a only
3. a depends on b (which is transitive to the child project),
and b depends on c.
|
getLocalRepositoryPath, getTestSeries, projectFile, projectFile
customizeContainerConfiguration, getCustomConfigurationName, getFileForClasspathResource, getLocalRepository, getProject, getProjectBuilder, getProjectWithDependencies, initRepoSession, setUp, tearDown
customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, teardownContainer
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public ProjectInheritanceTest()
public void testDependencyManagementExclusionsExcludeTransitively() throws Exception
Exception
public void testDependencyManagementExclusionDoesNotOverrideGloballyForTransitives() throws Exception
Exception
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.