public class MavenProjectBasicStub extends MavenProject
Modifier and Type | Field and Description |
---|---|
protected Properties |
properties |
protected String |
testRootDir |
EMPTY_PROJECT_ARTIFACT_ID, EMPTY_PROJECT_GROUP_ID, EMPTY_PROJECT_VERSION
Constructor and Description |
---|
MavenProjectBasicStub() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
String value) |
String |
getArtifactId() |
Set<Artifact> |
getArtifacts() |
File |
getBasedir() |
Build |
getBuild() |
String |
getDescription() |
String |
getGroupId() |
String |
getName() |
Organization |
getOrganization() |
String |
getPackaging() |
Properties |
getProperties() |
String |
getVersion() |
addAttachedArtifact, addCompileSourceRoot, addContributor, addDeveloper, addLicense, addMailingList, addPlugin, addProjectReference, addResource, addScriptSourceRoot, addTestCompileSourceRoot, addTestResource, attachArtifact, clearRestorableBuild, clearRestorableRoots, clone, createArtifacts, equals, getActiveProfiles, getArtifact, getArtifactMap, getAttachedArtifacts, 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, 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, setDescription, 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, writeOriginalModel
protected String testRootDir
protected Properties properties
public Set<Artifact> getArtifacts()
getArtifacts
in class MavenProject
public String getName()
getName
in class MavenProject
public File getBasedir()
getBasedir
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
public String getDescription()
getDescription
in class MavenProject
public Organization getOrganization()
getOrganization
in class MavenProject
public Build getBuild()
getBuild
in class MavenProject
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.