org.apache.maven.plugin.resources.stub
Class MavenProjectBuildStub
java.lang.Object
org.apache.maven.project.MavenProject
org.apache.maven.plugin.testing.stubs.MavenProjectStub
org.apache.maven.plugin.resources.stub.MavenProjectBasicStub
org.apache.maven.plugin.resources.stub.MavenProjectBuildStub
- Direct Known Subclasses:
- MavenProjectResourcesStub
public class MavenProjectBuildStub
- extends MavenProjectBasicStub
Methods inherited from class org.apache.maven.plugin.testing.stubs.MavenProjectStub |
addAttachedArtifact, addCompileSourceRoot, addContributor, addDeveloper, addLicense, addMailingList, addPlugin, addProjectReference, addResource, addScriptSourceRoot, addTestCompileSourceRoot, addTestResource, attachArtifact, createArtifacts, getActiveProfiles, getArtifact, getArtifactMap, getArtifacts, getAttachedArtifacts, getBuildExtensions, getBuildPlugins, getCiManagement, getCollectedProjects, getCompileArtifacts, getCompileClasspathElements, getCompileDependencies, getCompileSourceRoots, getContributors, getDefaultGoal, getDependencies, getDependencyArtifacts, getDependencyManagement, getDevelopers, getDistributionManagement, getDistributionManagementArtifactRepository, getExecutionProject, getExtensionArtifactMap, getExtensionArtifacts, getFile, getFilters, getGoalConfiguration, getId, getInceptionYear, getIssueManagement, getLicenses, getMailingLists, getModel, getModelVersion, getModulePathAdjustment, getModules, getOrganization, getOriginalModel, getParent, getParentArtifact, getPluginArtifactMap, getPluginArtifactRepositories, getPluginArtifacts, getPluginManagement, getPluginRepositories, getPrerequisites, getProjectReferences, getRemoteArtifactRepositories, getReportArtifactMap, getReportArtifacts, getReportConfiguration, getReporting, getReportPlugins, getRepositories, getResources, getRuntimeArtifacts, getRuntimeClasspathElements, getRuntimeDependencies, getScm, getScriptSourceRoots, getSystemArtifacts, getSystemClasspathElements, getSystemDependencies, getTestArtifacts, getTestClasspathElements, getTestCompileSourceRoots, getTestDependencies, getTestResources, getUrl, hasParent, injectPluginManagementInfo, isExecutionRoot, replaceWithActiveArtifact, setActiveProfiles, setArtifact, setArtifactId, setArtifactMap, setArtifacts, setAttachedArtifacts, setBuild, setBuildOverlay, setCiManagement, setCollectedProjects, setCompileArtifacts, setCompileDependencies, setCompileSourceRoots, setContributors, setDependencies, setDependencyArtifacts, setDevelopers, setDistributionManagement, setExecutionProject, setExecutionRoot, setExtensionArtifactMap, setExtensionArtifacts, setFile, setGroupId, setInceptionYear, setIssueManagement, setLicenses, setMailingLists, setModel, setModelVersion, setName, setOrganization, setOriginalModel, setPackaging, setParent, setParentArtifact, setPluginArtifactMap, setPluginArtifactRepositories, setPluginArtifacts, setProjectReferences, setReleaseArtifactRepository, setRemoteArtifactRepositories, setReportArtifactMap, setReportArtifacts, setReporting, setRuntimeArtifacts, setRuntimeClasspathElements, setRuntimeDependencies, setScm, setScriptSourceRoots, setSnapshotArtifactRepository, setSystemArtifacts, setSystemClasspathElements, setSystemDependencies, setTestArtifacts, setTestClasspathElements, setTestCompileSourceRoots, setTestDependencies, setUrl, setVersion, writeModel, writeOriginalModel |
build
protected Build build
srcDirectory
protected String srcDirectory
targetDirectory
protected String targetDirectory
buildDirectory
protected String buildDirectory
outputDirectory
protected String outputDirectory
testOutputDirectory
protected String testOutputDirectory
resourcesDirectory
protected String resourcesDirectory
testResourcesDirectory
protected String testResourcesDirectory
targetResourceDirectory
protected String targetResourceDirectory
targetTestResourcesDirectory
protected String targetTestResourcesDirectory
fileList
protected ArrayList fileList
directoryList
protected ArrayList directoryList
dataMap
protected HashMap dataMap
MavenProjectBuildStub
public MavenProjectBuildStub(String key)
throws Exception
- Throws:
Exception
addDirectory
public void addDirectory(String name)
setOutputDirectory
public void setOutputDirectory(String dir)
addFile
public void addFile(String name)
addFile
public void addFile(String name,
String data)
getOutputDirectory
public String getOutputDirectory()
getTestOutputDirectory
public String getTestOutputDirectory()
getResourcesDirectory
public String getResourcesDirectory()
getTestResourcesDirectory
public String getTestResourcesDirectory()
getBuild
public Build getBuild()
- Overrides:
getBuild
in class MavenProjectStub
cleanBuildEnvironment
public void cleanBuildEnvironment()
throws Exception
- Throws:
Exception
setupBuildEnvironment
public void setupBuildEnvironment()
throws Exception
- Throws:
Exception
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.