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 |
modelStub |
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() |
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, clearRestorableBuild, clearRestorableRoots, clone, createArtifacts, equals, getActiveProfiles, getArtifactMap, getArtifacts, getAttachedArtifacts, getBuild, getBuildExtensions, getBuildPlugins, getCiManagement, getCollectedProjects, getCompileArtifacts, getCompileClasspathElements, getCompileDependencies, getCompileSourceRoots, getContributors, getDefaultGoal, getDependencies, getDependencyArtifacts, getDependencyManagement, getDevelopers, getDistributionManagement, getDistributionManagementArtifactRepository, getDynamicBuild, getDynamicCompileSourceRoots, getDynamicScriptSourceRoots, getDynamicTestCompileSourceRoots, getExecutionProject, getExtensionArtifactMap, getExtensionArtifacts, getFile, getFilters, getGoalConfiguration, getId, getInceptionYear, getIssueManagement, getLicenses, getMailingLists, getManagedVersionMap, getModel, getModelVersion, getModulePathAdjustment, getModules, getOrganization, getOriginalInterpolatedBuild, getOriginalInterpolatedCompileSourceRoots, getOriginalInterpolatedScriptSourceRoots, getOriginalInterpolatedTestCompileSourceRoots, getOriginalModel, getParent, getParentArtifact, getPluginArtifactMap, getPluginArtifactRepositories, getPluginArtifacts, getPluginManagement, getPluginRepositories, getPrerequisites, getPreservedBasedir, getPreservedProperties, getProjectBuilderConfiguration, getProjectReferenceId, getProjectReferences, getReleaseArtifactRepository, getRemoteArtifactRepositories, getReportArtifactMap, getReportArtifacts, getReportConfiguration, getReporting, getReportPlugins, getRepositories, getResources, getRuntimeArtifacts, getRuntimeClasspathElements, getRuntimeDependencies, getScm, getScriptSourceRoots, getSnapshotArtifactRepository, getSystemArtifacts, getSystemClasspathElements, getSystemDependencies, getTestArtifacts, getTestClasspathElements, getTestCompileSourceRoots, getTestDependencies, getTestResources, getUrl, hashCode, hasParent, injectPluginManagementInfo, isConcrete, isExecutionRoot, preserveBasedir, preserveBuild, preserveCompileSourceRoots, preserveProperties, preserveScriptSourceRoots, preserveTestCompileSourceRoots, replaceWithActiveArtifact, resolveActiveArtifacts, setActiveProfiles, setArtifact, setArtifactId, setArtifacts, setAttachedArtifacts, setBasedir, setBuild, setCiManagement, setCollectedProjects, setCompileSourceRoots, setConcrete, setContributors, setDependencies, setDependencyArtifacts, setDevelopers, setDistributionManagement, setDynamicBuild, setDynamicCompileSourceRoots, setDynamicScriptSourceRoots, setDynamicTestCompileSourceRoots, setExecutionProject, setExecutionRoot, setExtensionArtifacts, setFile, setGroupId, setInceptionYear, setIssueManagement, setLicenses, setLogger, setMailingLists, setManagedVersionMap, setModel, setModelVersion, setName, setOrganization, setOriginalInterpolatedBuild, setOriginalInterpolatedCompileSourceRoots, setOriginalInterpolatedScriptSourceRoots, setOriginalInterpolatedTestCompileSourceRoots, setOriginalModel, setPackaging, setParent, setParentArtifact, setPluginArtifactRepositories, setPluginArtifacts, setProjectBuilderConfiguration, setReleaseArtifactRepository, setRemoteArtifactRepositories, setReportArtifacts, setReporting, setScm, setScriptSourceRoots, setSnapshotArtifactRepository, setTestCompileSourceRoots, setUrl, setVersion, toString, writeModel, writeOriginalModelprotected String identifier
protected String testRootDir
protected Properties properties
protected String description
protected ModelStub modelStub
protected File file
protected ArtifactStub artifact
public String getName()
getName in class MavenProjectpublic void setDescription(String desc)
setDescription in class MavenProjectpublic String getDescription()
getDescription in class MavenProjectpublic File getBasedir()
getBasedir in class MavenProjectpublic Artifact getArtifact()
getArtifact in class MavenProjectpublic String getGroupId()
getGroupId in class MavenProjectpublic String getArtifactId()
getArtifactId in class MavenProjectpublic String getPackaging()
getPackaging in class MavenProjectpublic String getVersion()
getVersion in class MavenProjectpublic Properties getProperties()
getProperties in class MavenProjectCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.