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

java.lang.Object
  extended byorg.apache.maven.project.MavenProject
      extended byorg.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  java.lang.String description
           
protected  java.io.File file
           
protected  java.lang.String identifier
           
protected  ModelStub model
           
protected  java.util.Properties properties
           
protected  java.lang.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(java.lang.String id)
           
 
Method Summary
 void addProperty(java.lang.String key, java.lang.String value)
           
 org.apache.maven.artifact.Artifact getArtifact()
           
 java.lang.String getArtifactId()
           
 java.io.File getBasedir()
           
 java.lang.String getDescription()
           
 java.lang.String getGroupId()
           
 org.apache.maven.model.Model getModel()
           
 java.lang.String getName()
           
 java.lang.String getPackaging()
           
 java.util.Properties getProperties()
           
 java.lang.String getVersion()
           
 void setDescription(java.lang.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 java.lang.String identifier

testRootDir

protected java.lang.String testRootDir

properties

protected java.util.Properties properties

description

protected java.lang.String description

model

protected ModelStub model

file

protected java.io.File file

artifact

protected ArtifactStub artifact
Constructor Detail

MavenProjectBasicStub

public MavenProjectBasicStub(java.lang.String id)
                      throws java.lang.Exception
Method Detail

getName

public java.lang.String getName()

setDescription

public void setDescription(java.lang.String desc)

getModel

public org.apache.maven.model.Model getModel()

getDescription

public java.lang.String getDescription()

getBasedir

public java.io.File getBasedir()

getArtifact

public org.apache.maven.artifact.Artifact getArtifact()

getGroupId

public java.lang.String getGroupId()

getArtifactId

public java.lang.String getArtifactId()

getPackaging

public java.lang.String getPackaging()

getVersion

public java.lang.String getVersion()

addProperty

public void addProperty(java.lang.String key,
                        java.lang.String value)

getProperties

public java.util.Properties getProperties()


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