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 AbstractMavenProjectTestCase
Exception
protected 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
Exception
protected ArtifactRepository getLocalRepository() throws Exception
getLocalRepository
in class AbstractMavenProjectTestCase
Exception
@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
Exception
public 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
Exception
public void testBuildParentVersionRangeExternallyWithChildPomParentVersionExpression() throws Exception
Exception
public void testBuildParentVersionRangeExternallyWithChildProjectParentVersionExpression() throws Exception
Exception
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.