public class MavenProjectBasicStub extends MavenProject
Modifier and Type | Field and Description |
---|---|
protected ArtifactStub |
artifact |
protected String |
description |
protected File |
file |
protected String |
identifier |
protected ModelStub |
model |
protected Properties |
properties |
protected String |
testRootDir |
EMPTY_PROJECT_ARTIFACT_ID, EMPTY_PROJECT_GROUP_ID, EMPTY_PROJECT_VERSION
Constructor and Description |
---|
MavenProjectBasicStub(String id) |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
String value) |
Artifact |
getArtifact() |
String |
getArtifactId() |
File |
getBasedir() |
String |
getDescription() |
String |
getGroupId() |
Model |
getModel() |
String |
getName() |
String |
getPackaging() |
Properties |
getProperties() |
String |
getVersion() |
void |
setDescription(String desc) |
addAttachedArtifact, addCompileSourceRoot, addContributor, addDeveloper, addLicense, addMailingList, addPlugin, addProjectReference, addResource, addScriptSourceRoot, addTestCompileSourceRoot, addTestResource, attachArtifact, createArtifacts, equals, getActiveProfiles, getArtifactMap, getArtifacts, getAttachedArtifacts, getBuild, 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
protected String identifier
protected String testRootDir
protected Properties properties
protected String description
protected ModelStub model
protected File file
protected ArtifactStub artifact
public String getName()
getName
in class MavenProject
public void setDescription(String desc)
setDescription
in class MavenProject
public Model getModel()
getModel
in class MavenProject
public String getDescription()
getDescription
in class MavenProject
public File getBasedir()
getBasedir
in class MavenProject
public Artifact getArtifact()
getArtifact
in class MavenProject
public String getGroupId()
getGroupId
in class MavenProject
public String getArtifactId()
getArtifactId
in class MavenProject
public String getPackaging()
getPackaging
in class MavenProject
public String getVersion()
getVersion
in class MavenProject
public Properties getProperties()
getProperties
in class MavenProject
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.