public class MavenProjectBuildStub extends MavenProjectBasicStub
Modifier and Type | Field and Description |
---|---|
protected Build |
build |
protected String |
buildDirectory |
protected HashMap<String,String> |
dataMap |
protected ArrayList<String> |
directoryList |
protected ArrayList<String> |
fileList |
protected String |
outputDirectory |
protected String |
resourcesDirectory |
protected String |
srcDirectory |
protected String |
targetDirectory |
protected String |
targetResourceDirectory |
protected String |
targetTestResourcesDirectory |
protected String |
testOutputDirectory |
protected String |
testResourcesDirectory |
description, identifier, 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) |
void |
addFile(String name,
String data) |
void |
cleanBuildEnvironment() |
Build |
getBuild() |
String |
getOutputDirectory() |
String |
getResourcesDirectory() |
String |
getTestOutputDirectory() |
String |
getTestResourcesDirectory() |
void |
setOutputDirectory(String dir) |
void |
setupBuildEnvironment() |
addProperty, getArtifactId, getBasedir, getDescription, getGroupId, getName, getPackaging, getProperties, getVersion, setDescription
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, readModel, 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
addLifecyclePhase, clone, equals, getClassRealm, getContextValue, getExtensionDependencyFilter, getInjectedProfileIds, getManagedVersionMap, getParentFile, getPlugin, getReleaseArtifactRepository, getRemotePluginRepositories, getRemoteProjectRepositories, getSnapshotArtifactRepository, hashCode, hasLifecyclePhase, setArtifactFilter, setClassRealm, setContextValue, setExtensionDependencyFilter, setInjectedProfileIds, setManagedVersionMap, setParentFile, setResolvedArtifacts, toString
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
public void addDirectory(String name)
public void setOutputDirectory(String dir)
public void addFile(String name)
public String getOutputDirectory()
public String getTestOutputDirectory()
public String getResourcesDirectory()
public String getTestResourcesDirectory()
public Build getBuild()
getBuild
in class MavenProjectStub
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.