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, newBuildingRequest
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 void setUp() throws Exception
setUp
in class AbstractMavenProjectTestCase
Exception
public void tearDown() throws Exception
tearDown
in class AbstractMavenProjectTestCase
Exception
protected org.apache.maven.project.MavenProject getProject(Artifact pom, boolean allowStub) throws Exception
Exception
public void testBuildFromMiddlePom() throws Exception
Exception
public void testDuplicatePluginDefinitionsMerged() throws Exception
Exception
public void testFutureSchemaModelVersion() throws Exception
Exception
public void testBuildStubModelForMissingRemotePom() throws Exception
Exception
protected org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository() throws Exception
getLocalRepository
in class AbstractMavenProjectTestCase
Exception
public void testPartialResultUponBadDependencyDeclaration() throws Exception
Exception
public void testImportScopePomResolvesFromPropertyBasedRepository() throws Exception
Exception
public void testBuildValidParentVersionRangeLocally() throws Exception
Exception
public void testBuildParentVersionRangeLocallyWithoutChildVersion() throws Exception
Exception
public void testBuildParentVersionRangeLocallyWithChildVersionExpression() throws Exception
Exception
public void testBuildParentVersionRangeExternally() throws Exception
Exception
public void testBuildParentVersionRangeExternallyWithoutChildVersion() throws Exception
Exception
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.