public class MavenProjectBuildStub extends MavenProjectBasicStub
Modifier and Type | Field and Description |
---|---|
protected Build |
build |
protected String |
buildDirectory |
protected HashMap |
dataMap |
protected ArrayList |
directoryList |
static int |
OUTPUT_FILE |
protected String |
outputDirectory |
static int |
RESOURCES_FILE |
protected String |
resourcesDirectory |
protected ArrayList |
resourcesFileList |
static int |
ROOT_FILE |
protected ArrayList |
rootFileList |
static int |
SOURCE_FILE |
protected ArrayList |
sourceFileList |
protected String |
srcDirectory |
protected ArrayList |
targetClassesList |
protected String |
targetDirectory |
protected String |
targetResourceDirectory |
protected String |
targetTestResourcesDirectory |
protected String |
testOutputDirectory |
protected String |
testResourcesDirectory |
artifact, description, file, identifier, model, properties, testRootDir
EMPTY_PROJECT_ARTIFACT_ID, EMPTY_PROJECT_GROUP_ID, EMPTY_PROJECT_VERSION
Constructor and Description |
---|
MavenProjectBuildStub(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addDirectory(String name) |
void |
addFile(String name,
int type) |
void |
addFile(String name,
String data,
int type) |
Build |
getBuild() |
String |
getOutputDirectory() |
String |
getResourcesDirectory() |
String |
getTestOutputDirectory() |
String |
getTestResourcesDirectory() |
void |
setOutputDirectory(String dir) |
void |
setupBuildEnvironment() |
addProperty, getArtifact, getArtifactId, getBasedir, getDescription, getGroupId, getModel, getName, getPackaging, getProperties, getVersion, setDescription
addAttachedArtifact, addCompileSourceRoot, addContributor, addDeveloper, addLicense, addMailingList, addPlugin, addProjectReference, addResource, addScriptSourceRoot, addTestCompileSourceRoot, addTestResource, attachArtifact, createArtifacts, equals, getActiveProfiles, 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, getManagedVersionMap, 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, hashCode, hasParent, injectPluginManagementInfo, isExecutionRoot, replaceWithActiveArtifact, setActiveProfiles, setArtifact, setArtifactId, setArtifacts, setBuild, setCiManagement, setCollectedProjects, setContributors, setDependencies, setDependencyArtifacts, setDevelopers, setDistributionManagement, setExecutionProject, setExecutionRoot, setExtensionArtifacts, setFile, setGroupId, setInceptionYear, setIssueManagement, setLicenses, setMailingLists, setManagedVersionMap, setModelVersion, setName, setOrganization, setOriginalModel, setPackaging, setParent, setParentArtifact, setPluginArtifactRepositories, setPluginArtifacts, setReleaseArtifactRepository, setRemoteArtifactRepositories, setReportArtifacts, setReporting, setScm, setSnapshotArtifactRepository, setUrl, setVersion, writeModel, writeOriginalModel
public static final int RESOURCES_FILE
public static final int ROOT_FILE
public static final int OUTPUT_FILE
public static final int SOURCE_FILE
protected Build build
protected String srcDirectory
protected String targetDirectory
protected String buildDirectory
protected String outputDirectory
protected String testOutputDirectory
protected String resourcesDirectory
protected String testResourcesDirectory
protected String targetResourceDirectory
protected String targetTestResourcesDirectory
protected ArrayList targetClassesList
protected ArrayList sourceFileList
protected ArrayList resourcesFileList
protected ArrayList rootFileList
protected ArrayList directoryList
protected HashMap dataMap
public void addDirectory(String name)
public void setOutputDirectory(String dir)
public void addFile(String name, int type)
public String getOutputDirectory()
public String getTestOutputDirectory()
public String getResourcesDirectory()
public String getTestResourcesDirectory()
public Build getBuild()
getBuild
in class MavenProject
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.