org.apache.maven.plugin.ejb.stub
Class MavenProjectBasicStub

java.lang.Object
  extended by org.apache.maven.project.MavenProject
      extended by org.apache.maven.plugin.ejb.stub.MavenProjectBasicStub
Direct Known Subclasses:
MavenProjectBuildStub

public class MavenProjectBasicStub
extends org.apache.maven.project.MavenProject

Stub


Field Summary
protected  ArtifactStub artifact
           
protected  String description
           
protected  File file
           
protected  String identifier
           
protected  ModelStub model
           
protected  Properties properties
           
protected  String testRootDir
           
 
Fields inherited from class org.apache.maven.project.MavenProject
EMPTY_PROJECT_ARTIFACT_ID, EMPTY_PROJECT_GROUP_ID, EMPTY_PROJECT_VERSION
 
Constructor Summary
MavenProjectBasicStub(String id)
           
 
Method Summary
 void addProperty(String key, String value)
           
 org.apache.maven.artifact.Artifact getArtifact()
           
 String getArtifactId()
           
 File getBasedir()
           
 String getDescription()
           
 String getGroupId()
           
 org.apache.maven.model.Model getModel()
           
 String getName()
           
 String getPackaging()
           
 Properties getProperties()
           
 String getVersion()
           
 void setDescription(String desc)
           
 
Methods inherited from class org.apache.maven.project.MavenProject
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

protected String identifier

testRootDir

protected String testRootDir

properties

protected Properties properties

description

protected String description

model

protected ModelStub model

file

protected File file

artifact

protected ArtifactStub artifact
Constructor Detail

MavenProjectBasicStub

public MavenProjectBasicStub(String id)
                      throws Exception
Throws:
Exception
Method Detail

getName

public String getName()
Overrides:
getName in class org.apache.maven.project.MavenProject

setDescription

public void setDescription(String desc)
Overrides:
setDescription in class org.apache.maven.project.MavenProject

getModel

public org.apache.maven.model.Model getModel()
Overrides:
getModel in class org.apache.maven.project.MavenProject

getDescription

public String getDescription()
Overrides:
getDescription in class org.apache.maven.project.MavenProject

getBasedir

public File getBasedir()
Overrides:
getBasedir in class org.apache.maven.project.MavenProject

getArtifact

public org.apache.maven.artifact.Artifact getArtifact()
Overrides:
getArtifact in class org.apache.maven.project.MavenProject

getGroupId

public String getGroupId()
Overrides:
getGroupId in class org.apache.maven.project.MavenProject

getArtifactId

public String getArtifactId()
Overrides:
getArtifactId in class org.apache.maven.project.MavenProject

getPackaging

public String getPackaging()
Overrides:
getPackaging in class org.apache.maven.project.MavenProject

getVersion

public String getVersion()
Overrides:
getVersion in class org.apache.maven.project.MavenProject

addProperty

public void addProperty(String key,
                        String value)

getProperties

public Properties getProperties()
Overrides:
getProperties in class org.apache.maven.project.MavenProject


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.