public class DefaultMavenProjectBuilderTest extends AbstractMavenProjectTestCase
projectBuilder, repositorySystem| Constructor and Description |
|---|
DefaultMavenProjectBuilderTest() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.maven.artifact.repository.ArtifactRepository |
getLocalRepository() |
protected org.apache.maven.project.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 |
testFutureModelVersion() |
void |
testFutureSchemaModelVersion() |
void |
testImportScopePomResolvesFromPropertyBasedRepository() |
void |
testPartialResultUponBadDependencyDeclaration() |
void |
testPastModelVersion() |
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 org.apache.maven.project.MavenProject getProject(Artifact pom, boolean allowStub) throws Exception
Exceptionpublic void testBuildFromMiddlePom()
throws Exception
Exceptionpublic void testDuplicatePluginDefinitionsMerged()
throws Exception
Exceptionpublic void testFutureSchemaModelVersion()
throws Exception
Exceptionpublic void testBuildStubModelForMissingRemotePom()
throws Exception
Exceptionprotected org.apache.maven.artifact.repository.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–2021 The Apache Software Foundation. All rights reserved.