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

java.lang.Object
  extended by org.apache.maven.project.MavenProject
      extended by org.apache.maven.plugin.war.stub.MavenProjectBasicStub
Direct Known Subclasses:
MavenProject4CopyConstructor, MavenProjectArtifactsStub

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

Stub


Field Summary
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()
           
 
Method Summary
 void addProperty(String key, String value)
           
 String getArtifactId()
           
 Set getArtifacts()
           
 File getBasedir()
           
 String getDescription()
           
 String getGroupId()
           
 String getName()
           
 org.apache.maven.model.Organization getOrganization()
           
 String getPackaging()
           
 Properties getProperties()
           
 String getVersion()
           
 
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, getArtifact, getArtifactMap, 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, getModel, getModelVersion, getModulePathAdjustment, getModules, 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, setDescription, 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

testRootDir

protected String testRootDir

properties

protected Properties properties
Constructor Detail

MavenProjectBasicStub

public MavenProjectBasicStub()
                      throws Exception
Throws:
Exception
Method Detail

getArtifacts

public Set getArtifacts()
Overrides:
getArtifacts in class org.apache.maven.project.MavenProject

getName

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

getBasedir

public File getBasedir()
Overrides:
getBasedir 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

getDescription

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

getOrganization

public org.apache.maven.model.Organization getOrganization()
Overrides:
getOrganization in class org.apache.maven.project.MavenProject


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