public class DefaultMavenProjectBuilderTest extends AbstractMavenProjectTestCase
container, projectBuilder, repositorySystem| Constructor and Description |
|---|
DefaultMavenProjectBuilderTest() |
| Modifier and Type | Method and Description |
|---|---|
protected ArtifactRepository |
getLocalRepository() |
protected MavenProject |
getProject(Artifact pom,
boolean allowStub) |
void |
rereadPom_mng7063()
Ensure that when re-reading a pom, it should not use the cached Model
|
void |
setUp() |
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 |
testBuildParentVersionRangeExternallyWithChildPomParentVersionExpression()
Tests whether external version range parent references are build correctly.
|
void |
testBuildParentVersionRangeExternallyWithChildPomVersionExpression()
Tests whether external version range parent references are build correctly.
|
void |
testBuildParentVersionRangeExternallyWithChildProjectParentVersionExpression()
Tests whether external version range parent references are build correctly.
|
void |
testBuildParentVersionRangeExternallyWithChildProjectVersionExpression()
Tests whether external version range parent references are build correctly.
|
void |
testBuildParentVersionRangeExternallyWithChildRevisionExpression()
Tests whether external version range parent references are build correctly.
|
void |
testBuildParentVersionRangeExternallyWithoutChildVersion()
Tests whether external version range parent references are build correctly.
|
void |
testBuildParentVersionRangeLocallyWithChildProjectParentVersionExpression()
Tests whether local version range parent references are build correctly.
|
void |
testBuildParentVersionRangeLocallyWithChildProjectVersionExpression()
Tests whether local version range parent references are build correctly.
|
void |
testBuildParentVersionRangeLocallyWithChildRevisionExpression()
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 |
testPartialResultUponBadDependencyDeclaration() |
void |
testPastModelVersion() |
getContainer, getFileForClasspathResource, getLocalRepositoryPath, getProject, getProjectBuilder, getProjectFromRemoteRepository, getProjectWithDependencies, initRepoSession, newBuildingRequest@BeforeEach
public void setUp()
throws Exception
setUp in class AbstractMavenProjectTestCaseExceptionprotected MavenProject getProject(Artifact pom, boolean allowStub) throws Exception
Exception@Test
public void testBuildFromMiddlePom()
throws Exception
Exception - in case of issue@Disabled(value="Maven 4 does not allow duplicate plugin declarations")
@Test
public void testDuplicatePluginDefinitionsMerged()
throws Exception
Exception@Test
public void testFutureModelVersion()
throws Exception
Exception@Test
public void testFutureSchemaModelVersion()
throws Exception
Exception@Test
public void testBuildStubModelForMissingRemotePom()
throws Exception
Exceptionprotected ArtifactRepository getLocalRepository() throws Exception
getLocalRepository in class AbstractMavenProjectTestCaseException@Test
public void testPartialResultUponBadDependencyDeclaration()
throws Exception
Exception@Test
public void testBuildValidParentVersionRangeLocally()
throws Exception
Exception - in case of issue@Test
public void testBuildParentVersionRangeLocallyWithoutChildVersion()
throws Exception
Exception - in case of issue@Test
public void testBuildParentVersionRangeLocallyWithChildProjectVersionExpression()
throws Exception
Exception - in case of issuepublic void testBuildParentVersionRangeLocallyWithChildProjectParentVersionExpression()
throws Exception
Exceptionpublic void testBuildParentVersionRangeLocallyWithChildRevisionExpression()
throws Exception
Exception@Test
public void testBuildParentVersionRangeExternally()
throws Exception
Exception - in case of issue@Test
public void testBuildParentVersionRangeExternallyWithoutChildVersion()
throws Exception
Exception - in case of issue@Test
public void testBuildParentVersionRangeExternallyWithChildProjectVersionExpression()
throws Exception
Exception - in case of issue@Test
public void rereadPom_mng7063()
throws Exception
Exception - in case of issuepublic void testBuildParentVersionRangeExternallyWithChildPomVersionExpression()
throws Exception
Exceptionpublic void testBuildParentVersionRangeExternallyWithChildPomParentVersionExpression()
throws Exception
Exceptionpublic void testBuildParentVersionRangeExternallyWithChildProjectParentVersionExpression()
throws Exception
ExceptionCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.