public class DefaultMavenProjectBuilderTest extends AbstractMavenProjectTestCase
projectBuilder, repositorySystem| Constructor and Description |
|---|
DefaultMavenProjectBuilderTest() |
| Modifier and Type | Method and Description |
|---|---|
protected ArtifactRepository |
getLocalRepository() |
protected MavenProject |
getProject(Artifact pom,
boolean allowStub) |
void |
setUp() |
void |
tearDown() |
void |
testBuildFromMiddlePom()
Check that we can build ok from the middle pom of a (parent,child,grandchild) hierarchy
|
void |
testBuildParentVersionRangeExternally()
Tests whether external version range parent references are build correctly.
|
void |
testBuildParentVersionRangeExternallyWithChildVersionExpression()
Tests whether external version range parent references are build correctly.
|
void |
testBuildParentVersionRangeExternallyWithoutChildVersion()
Tests whether external version range parent references are build correctly.
|
void |
testBuildParentVersionRangeLocallyWithChildVersionExpression()
Tests whether local version range parent references are build correctly.
|
void |
testBuildParentVersionRangeLocallyWithoutChildVersion()
Tests whether local version range parent references are build correctly.
|
void |
testBuildStubModelForMissingRemotePom() |
void |
testBuildValidParentVersionRangeLocally()
Tests whether local version range parent references are build correctly.
|
void |
testDuplicatePluginDefinitionsMerged() |
void |
testImportScopePomResolvesFromPropertyBasedRepository() |
void |
testPartialResultUponBadDependencyDeclaration() |
void |
xtestLoop() |
customizeContainerConfiguration, getCustomConfigurationName, getFileForClasspathResource, getLocalRepositoryPath, getProject, getProjectBuilder, getProjectFromRemoteRepository, getProjectWithDependencies, initRepoSession, newBuildingRequestcustomizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, teardownContainerassertEquals, 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, toStringpublic void setUp()
throws Exception
setUp in class AbstractMavenProjectTestCaseExceptionpublic void tearDown()
throws Exception
tearDown in class AbstractMavenProjectTestCaseExceptionprotected MavenProject getProject(Artifact pom, boolean allowStub) throws Exception
Exceptionpublic void testBuildFromMiddlePom()
throws Exception
Exceptionpublic void testDuplicatePluginDefinitionsMerged()
throws Exception
Exceptionpublic void testBuildStubModelForMissingRemotePom()
throws Exception
Exceptionprotected ArtifactRepository getLocalRepository() throws Exception
getLocalRepository in class AbstractMavenProjectTestCaseExceptionpublic void testPartialResultUponBadDependencyDeclaration()
throws Exception
Exceptionpublic void testImportScopePomResolvesFromPropertyBasedRepository()
throws Exception
Exceptionpublic void testBuildValidParentVersionRangeLocally()
throws Exception
Exceptionpublic void testBuildParentVersionRangeLocallyWithoutChildVersion()
throws Exception
Exceptionpublic void testBuildParentVersionRangeLocallyWithChildVersionExpression()
throws Exception
Exceptionpublic void testBuildParentVersionRangeExternally()
throws Exception
Exceptionpublic void testBuildParentVersionRangeExternallyWithoutChildVersion()
throws Exception
ExceptionCopyright © 2001–2018 The Apache Software Foundation. All rights reserved.