org.apache.maven.plugin.idea.stubs
Class SimpleMavenProjectStub

java.lang.Object
  extended byorg.apache.maven.project.MavenProject
      extended byorg.apache.maven.plugin.testing.stubs.MavenProjectStub
          extended byorg.apache.maven.plugin.idea.stubs.SimpleMavenProjectStub
Direct Known Subclasses:
EarMavenProjectStub, EjbMavenProjectStub, LibraryMavenProjectStub, MavenProjectWithArtifactVersionRangeStub, MavenProjectWithCvsScmConnectionStub, MavenProjectWithModulesStub, MavenProjectWithPerforceScmConnectionStub, MavenProjectWithReactorDepStub, MavenProjectWithScmConnectionStub, MavenProjectWithScmConnectionWithPipeStub, MavenProjectWithScmDevConnectionStub, MavenProjectWithStarTeamScmConnectionStub, MavenProjectWithSvnScmConnectionStub, MavenProjectWithVssScmConnectionStub, WarMavenProjectStub

public class SimpleMavenProjectStub
extends org.apache.maven.plugin.testing.stubs.MavenProjectStub

Author:
Edwin Punzalan

Constructor Summary
SimpleMavenProjectStub()
           
 
Method Summary
protected  org.apache.maven.artifact.Artifact createArtifact(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
           
 org.apache.maven.artifact.Artifact getArtifact()
           
 java.lang.String getArtifactId()
           
 java.io.File getBasedir()
           
 org.apache.maven.model.Build getBuild()
           
 java.util.List getBuildPlugins()
           
 java.util.List getCollectedProjects()
           
 java.util.List getCompileSourceRoots()
           
 java.util.List getDependencies()
           
 java.lang.String getGroupId()
           
 java.util.List getRemoteArtifactRepositories()
           
 java.util.List getTestArtifacts()
           
 java.util.List getTestCompileSourceRoots()
           
 java.lang.String getVersion()
           
 boolean isExecutionRoot()
           
 void setCollectedProjects(java.util.List list)
           
 void setTestArtifacts(java.util.List artifacts)
           
 
Methods inherited from class org.apache.maven.plugin.testing.stubs.MavenProjectStub
addAttachedArtifact, addCompileSourceRoot, addContributor, addDeveloper, addLicense, addMailingList, addPlugin, addProjectReference, addResource, addScriptSourceRoot, addTestCompileSourceRoot, addTestResource, attachArtifact, createArtifacts, getActiveProfiles, getArtifactMap, getArtifacts, getAttachedArtifacts, getBuildExtensions, getCiManagement, getCompileArtifacts, getCompileClasspathElements, getCompileDependencies, getContributors, getDefaultGoal, getDependencyArtifacts, getDependencyManagement, getDescription, getDevelopers, getDistributionManagement, getDistributionManagementArtifactRepository, getExecutionProject, getExtensionArtifactMap, getExtensionArtifacts, getFile, getFilters, getGoalConfiguration, getId, getInceptionYear, getIssueManagement, getLicenses, getMailingLists, getModel, getModelVersion, getModulePathAdjustment, getModules, getName, getOrganization, getOriginalModel, getPackaging, getParent, getParentArtifact, getPluginArtifactMap, getPluginArtifactRepositories, getPluginArtifacts, getPluginManagement, getPluginRepositories, getPrerequisites, getProjectReferences, getProperties, getReportArtifactMap, getReportArtifacts, getReportConfiguration, getReporting, getReportPlugins, getRepositories, getResources, getRuntimeArtifacts, getRuntimeClasspathElements, getRuntimeDependencies, getScm, getScriptSourceRoots, getSystemArtifacts, getSystemClasspathElements, getSystemDependencies, getTestClasspathElements, getTestDependencies, getTestResources, getUrl, hasParent, injectPluginManagementInfo, replaceWithActiveArtifact, setActiveProfiles, setArtifact, setArtifactId, setArtifactMap, setArtifacts, setAttachedArtifacts, setBuild, setBuildOverlay, setCiManagement, setCompileArtifacts, setCompileDependencies, setCompileSourceRoots, setContributors, setDependencies, setDependencyArtifacts, setDescription, setDevelopers, setDistributionManagement, setExecutionProject, setExecutionRoot, setExtensionArtifactMap, setExtensionArtifacts, setFile, setGroupId, setInceptionYear, setIssueManagement, setLicenses, setMailingLists, setModel, setModelVersion, setName, setOrganization, setOriginalModel, setPackaging, setParent, setParentArtifact, setPluginArtifactMap, setPluginArtifactRepositories, setPluginArtifacts, setProjectReferences, setReleaseArtifactRepository, setRemoteArtifactRepositories, setReportArtifactMap, setReportArtifacts, setReporting, setRuntimeArtifacts, setRuntimeClasspathElements, setRuntimeDependencies, setScm, setScriptSourceRoots, setSnapshotArtifactRepository, setSystemArtifacts, setSystemClasspathElements, setSystemDependencies, setTestClasspathElements, setTestCompileSourceRoots, setTestDependencies, setUrl, setVersion, writeModel, writeOriginalModel
 
Methods inherited from class org.apache.maven.project.MavenProject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMavenProjectStub

public SimpleMavenProjectStub()
Method Detail

getGroupId

public java.lang.String getGroupId()

getArtifactId

public java.lang.String getArtifactId()

getVersion

public java.lang.String getVersion()

getBasedir

public java.io.File getBasedir()

getCollectedProjects

public java.util.List getCollectedProjects()

setCollectedProjects

public void setCollectedProjects(java.util.List list)

isExecutionRoot

public boolean isExecutionRoot()

getDependencies

public java.util.List getDependencies()

getArtifact

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

getBuild

public org.apache.maven.model.Build getBuild()

getRemoteArtifactRepositories

public java.util.List getRemoteArtifactRepositories()

getCompileSourceRoots

public java.util.List getCompileSourceRoots()

getTestArtifacts

public java.util.List getTestArtifacts()

setTestArtifacts

public void setTestArtifacts(java.util.List artifacts)

getTestCompileSourceRoots

public java.util.List getTestCompileSourceRoots()

createArtifact

protected org.apache.maven.artifact.Artifact createArtifact(java.lang.String groupId,
                                                            java.lang.String artifactId,
                                                            java.lang.String version)

getBuildPlugins

public java.util.List getBuildPlugins()


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