public abstract class AbstractMavenProjectTestCase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.codehaus.plexus.PlexusContainer |
container |
protected ProjectBuilder |
projectBuilder |
protected RepositorySystem |
repositorySystem |
| Constructor and Description |
|---|
AbstractMavenProjectTestCase() |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.plexus.PlexusContainer |
getContainer() |
protected static File |
getFileForClasspathResource(String resource) |
protected ArtifactRepository |
getLocalRepository() |
protected File |
getLocalRepositoryPath() |
protected MavenProject |
getProject(File pom) |
protected ProjectBuilder |
getProjectBuilder() |
protected MavenProject |
getProjectFromRemoteRepository(File pom) |
protected MavenProject |
getProjectWithDependencies(File pom) |
protected void |
initRepoSession(ProjectBuildingRequest request) |
protected ProjectBuildingRequest |
newBuildingRequest() |
void |
setUp() |
protected ProjectBuilder projectBuilder
@Inject protected RepositorySystem repositorySystem
@Inject protected org.codehaus.plexus.PlexusContainer container
public org.codehaus.plexus.PlexusContainer getContainer()
protected ProjectBuilder getProjectBuilder()
protected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException
protected static File getFileForClasspathResource(String resource) throws FileNotFoundException
FileNotFoundExceptionprotected ArtifactRepository getLocalRepository() throws Exception
Exceptionprotected MavenProject getProjectWithDependencies(File pom) throws Exception
Exceptionprotected MavenProject getProject(File pom) throws Exception
Exceptionprotected MavenProject getProjectFromRemoteRepository(File pom) throws Exception
Exceptionprotected ProjectBuildingRequest newBuildingRequest() throws Exception
Exceptionprotected void initRepoSession(ProjectBuildingRequest request)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.