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 |
getProjectWithDependencies(File pom) |
protected void |
initRepoSession(ProjectBuildingRequest request) |
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
FileNotFoundException
protected ArtifactRepository getLocalRepository() throws Exception
Exception
protected MavenProject getProjectWithDependencies(File pom) throws Exception
Exception
protected MavenProject getProject(File pom) throws Exception
Exception
protected void initRepoSession(ProjectBuildingRequest request)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.