public class DependencyProjectStub extends MavenProject
EMPTY_PROJECT_ARTIFACT_ID, EMPTY_PROJECT_GROUP_ID, EMPTY_PROJECT_VERSION
Constructor and Description |
---|
DependencyProjectStub() |
DependencyProjectStub(MavenProject project) |
DependencyProjectStub(Model model) |
clearRestorableBuild, clearRestorableRoots, clone, equals, getDynamicBuild, getDynamicCompileSourceRoots, getDynamicScriptSourceRoots, getDynamicTestCompileSourceRoots, getManagedVersionMap, getOriginalInterpolatedBuild, getOriginalInterpolatedCompileSourceRoots, getOriginalInterpolatedScriptSourceRoots, getOriginalInterpolatedTestCompileSourceRoots, getPreservedBasedir, getPreservedProperties, getProjectBuilderConfiguration, getProjectReferenceId, getReleaseArtifactRepository, getSnapshotArtifactRepository, hashCode, isConcrete, preserveBasedir, preserveBuild, preserveCompileSourceRoots, preserveProperties, preserveScriptSourceRoots, preserveTestCompileSourceRoots, resolveActiveArtifacts, setBasedir, setConcrete, setDynamicBuild, setDynamicCompileSourceRoots, setDynamicScriptSourceRoots, setDynamicTestCompileSourceRoots, setLogger, setManagedVersionMap, setOriginalInterpolatedBuild, setOriginalInterpolatedCompileSourceRoots, setOriginalInterpolatedScriptSourceRoots, setOriginalInterpolatedTestCompileSourceRoots, setProjectBuilderConfiguration, toString
public DependencyProjectStub()
public DependencyProjectStub(Model model)
public DependencyProjectStub(MavenProject project)
public String getModulePathAdjustment(MavenProject mavenProject) throws IOException
getModulePathAdjustment
in class MavenProject
IOException
public Artifact getArtifact()
getArtifact
in class MavenProject
public void setArtifact(Artifact artifact)
setArtifact
in class MavenProject
public Model getModel()
getModel
in class MavenProject
public MavenProject getParent()
getParent
in class MavenProject
public void setParent(MavenProject mavenProject)
setParent
in class MavenProject
public void setRemoteArtifactRepositories(List list)
setRemoteArtifactRepositories
in class MavenProject
public List getRemoteArtifactRepositories()
getRemoteArtifactRepositories
in class MavenProject
public boolean hasParent()
hasParent
in class MavenProject
public File getFile()
getFile
in class MavenProject
public void setFile(File file)
setFile
in class MavenProject
public File getBasedir()
getBasedir
in class MavenProject
public void setDependencies(List list)
setDependencies
in class MavenProject
public List getDependencies()
getDependencies
in class MavenProject
public void setDependencyManagement(DependencyManagement depMgt)
public DependencyManagement getDependencyManagement()
getDependencyManagement
in class MavenProject
public void addCompileSourceRoot(String string)
addCompileSourceRoot
in class MavenProject
public void addScriptSourceRoot(String string)
addScriptSourceRoot
in class MavenProject
public void addTestCompileSourceRoot(String string)
addTestCompileSourceRoot
in class MavenProject
public List getCompileSourceRoots()
getCompileSourceRoots
in class MavenProject
public List getScriptSourceRoots()
getScriptSourceRoots
in class MavenProject
public List getTestCompileSourceRoots()
getTestCompileSourceRoots
in class MavenProject
public List getCompileClasspathElements() throws DependencyResolutionRequiredException
getCompileClasspathElements
in class MavenProject
DependencyResolutionRequiredException
public void setCompileArtifacts(List compileArtifacts)
public List getCompileArtifacts()
getCompileArtifacts
in class MavenProject
public List getCompileDependencies()
getCompileDependencies
in class MavenProject
public List getTestClasspathElements() throws DependencyResolutionRequiredException
getTestClasspathElements
in class MavenProject
DependencyResolutionRequiredException
public List getTestArtifacts()
getTestArtifacts
in class MavenProject
public List getTestDependencies()
getTestDependencies
in class MavenProject
public List getRuntimeClasspathElements() throws DependencyResolutionRequiredException
getRuntimeClasspathElements
in class MavenProject
DependencyResolutionRequiredException
public List getRuntimeArtifacts()
getRuntimeArtifacts
in class MavenProject
public List getRuntimeDependencies()
getRuntimeDependencies
in class MavenProject
public List getSystemClasspathElements() throws DependencyResolutionRequiredException
getSystemClasspathElements
in class MavenProject
DependencyResolutionRequiredException
public List getSystemArtifacts()
getSystemArtifacts
in class MavenProject
public void setRuntimeClasspathElements(List runtimeClasspathElements)
public void setAttachedArtifacts(List attachedArtifacts)
setAttachedArtifacts
in class MavenProject
public void setCompileSourceRoots(List compileSourceRoots)
setCompileSourceRoots
in class MavenProject
public void setTestCompileSourceRoots(List testCompileSourceRoots)
setTestCompileSourceRoots
in class MavenProject
public void setScriptSourceRoots(List scriptSourceRoots)
setScriptSourceRoots
in class MavenProject
public void setArtifactMap(Map artifactMap)
public void setPluginArtifactMap(Map pluginArtifactMap)
public void setReportArtifactMap(Map reportArtifactMap)
public void setExtensionArtifactMap(Map extensionArtifactMap)
public void setProjectReferences(Map projectReferences)
public void setBuildOverlay(Build buildOverlay)
public void setCompileDependencies(List compileDependencies)
public void setSystemDependencies(List systemDependencies)
public void setTestClasspathElements(List testClasspathElements)
public void setTestDependencies(List testDependencies)
public void setSystemClasspathElements(List systemClasspathElements)
public void setSystemArtifacts(List systemArtifacts)
public void setTestArtifacts(List testArtifacts)
public void setRuntimeArtifacts(List runtimeArtifacts)
public void setRuntimeDependencies(List runtimeDependencies)
public void setModel(Model model)
setModel
in class MavenProject
public List getSystemDependencies()
getSystemDependencies
in class MavenProject
public void setModelVersion(String string)
setModelVersion
in class MavenProject
public String getModelVersion()
getModelVersion
in class MavenProject
public String getId()
getId
in class MavenProject
public void setGroupId(String string)
setGroupId
in class MavenProject
public String getGroupId()
getGroupId
in class MavenProject
public void setArtifactId(String string)
setArtifactId
in class MavenProject
public String getArtifactId()
getArtifactId
in class MavenProject
public void setName(String string)
setName
in class MavenProject
public String getName()
getName
in class MavenProject
public void setVersion(String string)
setVersion
in class MavenProject
public String getVersion()
getVersion
in class MavenProject
public String getPackaging()
getPackaging
in class MavenProject
public void setPackaging(String string)
setPackaging
in class MavenProject
public void setInceptionYear(String string)
setInceptionYear
in class MavenProject
public String getInceptionYear()
getInceptionYear
in class MavenProject
public void setUrl(String string)
setUrl
in class MavenProject
public String getUrl()
getUrl
in class MavenProject
public Prerequisites getPrerequisites()
getPrerequisites
in class MavenProject
public void setIssueManagement(IssueManagement issueManagement)
setIssueManagement
in class MavenProject
public CiManagement getCiManagement()
getCiManagement
in class MavenProject
public void setCiManagement(CiManagement ciManagement)
setCiManagement
in class MavenProject
public IssueManagement getIssueManagement()
getIssueManagement
in class MavenProject
public void setDistributionManagement(DistributionManagement distributionManagement)
setDistributionManagement
in class MavenProject
public DistributionManagement getDistributionManagement()
getDistributionManagement
in class MavenProject
public void setDescription(String string)
setDescription
in class MavenProject
public String getDescription()
getDescription
in class MavenProject
public void setOrganization(Organization organization)
setOrganization
in class MavenProject
public Organization getOrganization()
getOrganization
in class MavenProject
public void setScm(Scm scm)
setScm
in class MavenProject
public Scm getScm()
getScm
in class MavenProject
public void setMailingLists(List list)
setMailingLists
in class MavenProject
public List getMailingLists()
getMailingLists
in class MavenProject
public void addMailingList(MailingList mailingList)
addMailingList
in class MavenProject
public void setDevelopers(List list)
setDevelopers
in class MavenProject
public List getDevelopers()
getDevelopers
in class MavenProject
public void addDeveloper(Developer developer)
addDeveloper
in class MavenProject
public void setContributors(List list)
setContributors
in class MavenProject
public List getContributors()
getContributors
in class MavenProject
public void addContributor(Contributor contributor)
addContributor
in class MavenProject
public void setBuild(Build build)
setBuild
in class MavenProject
public Build getBuild()
getBuild
in class MavenProject
public List getResources()
getResources
in class MavenProject
public List getTestResources()
getTestResources
in class MavenProject
public void addResource(Resource resource)
addResource
in class MavenProject
public void addTestResource(Resource resource)
addTestResource
in class MavenProject
public void setReporting(Reporting reporting)
setReporting
in class MavenProject
public Reporting getReporting()
getReporting
in class MavenProject
public void setLicenses(List list)
setLicenses
in class MavenProject
public List getLicenses()
getLicenses
in class MavenProject
public void addLicense(License license)
addLicense
in class MavenProject
public void setArtifacts(Set set)
setArtifacts
in class MavenProject
public Set getArtifacts()
getArtifacts
in class MavenProject
public Map getArtifactMap()
getArtifactMap
in class MavenProject
public void setPluginArtifacts(Set set)
setPluginArtifacts
in class MavenProject
public Set getPluginArtifacts()
getPluginArtifacts
in class MavenProject
public Map getPluginArtifactMap()
getPluginArtifactMap
in class MavenProject
public void setReportArtifacts(Set set)
setReportArtifacts
in class MavenProject
public Set getReportArtifacts()
getReportArtifacts
in class MavenProject
public Map getReportArtifactMap()
getReportArtifactMap
in class MavenProject
public void setExtensionArtifacts(Set set)
setExtensionArtifacts
in class MavenProject
public Set getExtensionArtifacts()
getExtensionArtifacts
in class MavenProject
public Map getExtensionArtifactMap()
getExtensionArtifactMap
in class MavenProject
public void setParentArtifact(Artifact artifact)
setParentArtifact
in class MavenProject
public Artifact getParentArtifact()
getParentArtifact
in class MavenProject
public List getRepositories()
getRepositories
in class MavenProject
public List getReportPlugins()
getReportPlugins
in class MavenProject
public List getBuildPlugins()
getBuildPlugins
in class MavenProject
public List getModules()
getModules
in class MavenProject
public PluginManagement getPluginManagement()
getPluginManagement
in class MavenProject
public void addPlugin(Plugin plugin)
addPlugin
in class MavenProject
public void injectPluginManagementInfo(Plugin plugin)
injectPluginManagementInfo
in class MavenProject
public List getCollectedProjects()
getCollectedProjects
in class MavenProject
public void setCollectedProjects(List list)
setCollectedProjects
in class MavenProject
public void setPluginArtifactRepositories(List list)
setPluginArtifactRepositories
in class MavenProject
public List getPluginArtifactRepositories()
getPluginArtifactRepositories
in class MavenProject
public ArtifactRepository getDistributionManagementArtifactRepository()
getDistributionManagementArtifactRepository
in class MavenProject
public List getPluginRepositories()
getPluginRepositories
in class MavenProject
public void setActiveProfiles(List list)
setActiveProfiles
in class MavenProject
public List getActiveProfiles()
getActiveProfiles
in class MavenProject
public void addAttachedArtifact(Artifact theArtifact)
addAttachedArtifact
in class MavenProject
public List getAttachedArtifacts()
getAttachedArtifacts
in class MavenProject
public Xpp3Dom getGoalConfiguration(String string, String string1, String string2, String string3)
getGoalConfiguration
in class MavenProject
public Xpp3Dom getReportConfiguration(String string, String string1, String string2)
getReportConfiguration
in class MavenProject
public MavenProject getExecutionProject()
getExecutionProject
in class MavenProject
public void setExecutionProject(MavenProject mavenProject)
setExecutionProject
in class MavenProject
public void writeModel(Writer writer) throws IOException
writeModel
in class MavenProject
IOException
public void writeOriginalModel(Writer writer) throws IOException
writeOriginalModel
in class MavenProject
IOException
public Set getDependencyArtifacts()
getDependencyArtifacts
in class MavenProject
public void setDependencyArtifacts(Set set)
setDependencyArtifacts
in class MavenProject
public void setReleaseArtifactRepository(ArtifactRepository artifactRepository)
setReleaseArtifactRepository
in class MavenProject
public void setSnapshotArtifactRepository(ArtifactRepository artifactRepository)
setSnapshotArtifactRepository
in class MavenProject
public void setOriginalModel(Model model)
setOriginalModel
in class MavenProject
public Model getOriginalModel()
getOriginalModel
in class MavenProject
public List getBuildExtensions()
getBuildExtensions
in class MavenProject
public Set createArtifacts(ArtifactFactory artifactFactory, String string, ArtifactFilter artifactFilter) throws InvalidDependencyVersionException
createArtifacts
in class MavenProject
InvalidDependencyVersionException
public void addProjectReference(MavenProject mavenProject)
addProjectReference
in class MavenProject
public void attachArtifact(String string, String string1, File theFile)
attachArtifact
in class MavenProject
public Properties getProperties()
getProperties
in class MavenProject
public List getFilters()
getFilters
in class MavenProject
public Map getProjectReferences()
getProjectReferences
in class MavenProject
public boolean isExecutionRoot()
isExecutionRoot
in class MavenProject
public void setExecutionRoot(boolean b)
setExecutionRoot
in class MavenProject
public String getDefaultGoal()
getDefaultGoal
in class MavenProject
public Artifact replaceWithActiveArtifact(Artifact theArtifact)
replaceWithActiveArtifact
in class MavenProject
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.