public class JDomModel
extends org.apache.maven.model.Model
Constructor and Description |
---|
JDomModel(org.jdom2.Document document)
Constructor for JDomModel.
|
JDomModel(org.jdom2.Element project)
Constructor for JDomModel.
|
Modifier and Type | Method and Description |
---|---|
org.apache.maven.model.Build |
getBuild() |
List<org.apache.maven.model.Dependency> |
getDependencies() |
org.apache.maven.model.DependencyManagement |
getDependencyManagement() |
org.apache.maven.model.Parent |
getParent() |
List<org.apache.maven.model.Profile> |
getProfiles() |
Properties |
getProperties() |
org.apache.maven.model.Reporting |
getReporting() |
org.apache.maven.model.Scm |
getScm() |
void |
setScm(org.apache.maven.model.Scm scm) |
void |
setVersion(String version) |
addContributor, addDeveloper, addLicense, addMailingList, addProfile, clone, getArtifactId, getChildProjectUrlInheritAppendPath, getCiManagement, getContributors, getDescription, getDevelopers, getGroupId, getId, getInceptionYear, getIssueManagement, getLicenses, getMailingLists, getModelEncoding, getModelVersion, getName, getOrganization, getPackaging, getPomFile, getPrerequisites, getProjectDirectory, getUrl, getVersion, isChildProjectUrlInheritAppendPath, removeContributor, removeDeveloper, removeLicense, removeMailingList, removeProfile, setArtifactId, setBuild, setChildProjectUrlInheritAppendPath, setChildProjectUrlInheritAppendPath, setCiManagement, setContributors, setDescription, setDevelopers, setGroupId, setInceptionYear, setIssueManagement, setLicenses, setMailingLists, setModelEncoding, setModelVersion, setName, setOrganization, setPackaging, setParent, setPomFile, setPrerequisites, setProfiles, setUrl, toString
addDependency, addModule, addPluginRepository, addProperty, addRepository, getDistributionManagement, getLocation, getModules, getPluginRepositories, getReports, getRepositories, removeDependency, removeModule, removePluginRepository, removeRepository, setDependencies, setDependencyManagement, setDistributionManagement, setLocation, setModules, setOtherLocation, setPluginRepositories, setProperties, setReporting, setReports, setRepositories
public JDomModel(org.jdom2.Document document)
Constructor for JDomModel.
document
- a Document
objectpublic JDomModel(org.jdom2.Element project)
Constructor for JDomModel.
project
- a Element
objectpublic org.apache.maven.model.Build getBuild()
getBuild
in class org.apache.maven.model.Model
public List<org.apache.maven.model.Dependency> getDependencies()
getDependencies
in class org.apache.maven.model.ModelBase
public org.apache.maven.model.DependencyManagement getDependencyManagement()
getDependencyManagement
in class org.apache.maven.model.ModelBase
public org.apache.maven.model.Parent getParent()
getParent
in class org.apache.maven.model.Model
public List<org.apache.maven.model.Profile> getProfiles()
getProfiles
in class org.apache.maven.model.Model
public Properties getProperties()
getProperties
in class org.apache.maven.model.ModelBase
public org.apache.maven.model.Reporting getReporting()
getReporting
in class org.apache.maven.model.ModelBase
public void setScm(org.apache.maven.model.Scm scm)
setScm
in class org.apache.maven.model.Model
public org.apache.maven.model.Scm getScm()
getScm
in class org.apache.maven.model.Model
public void setVersion(String version)
setVersion
in class org.apache.maven.model.Model
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.