public class PomReader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
PomReader.PomDependencyData |
class |
PomReader.PomDependencyMgtElement |
class |
PomReader.PomPluginElement |
Constructor and Description |
---|
PomReader(java.net.URL descriptorURL,
Resource res) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArtifactId() |
java.util.List |
getDependencies() |
java.util.List |
getDependencyMgt() |
java.lang.String |
getDescription() |
java.lang.String |
getGroupId() |
java.lang.String |
getHomePage() |
License[] |
getLicenses() |
java.lang.String |
getPackaging() |
java.lang.String |
getParentArtifactId() |
java.lang.String |
getParentGroupId() |
java.lang.String |
getParentVersion() |
java.util.List |
getPlugins() |
java.util.Map |
getPomProperties() |
ModuleRevisionId |
getRelocation() |
java.lang.String |
getVersion() |
boolean |
hasParent() |
void |
setProperty(java.lang.String prop,
java.lang.String val)
Add a property if not yet set and value is not null.
|
public PomReader(java.net.URL descriptorURL, Resource res) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public boolean hasParent()
public void setProperty(java.lang.String prop, java.lang.String val)
public java.lang.String getGroupId()
public java.lang.String getParentGroupId()
public java.lang.String getArtifactId()
public java.lang.String getParentArtifactId()
public java.lang.String getVersion()
public java.lang.String getParentVersion()
public java.lang.String getPackaging()
public java.lang.String getHomePage()
public java.lang.String getDescription()
public License[] getLicenses()
public ModuleRevisionId getRelocation()
public java.util.List getDependencies()
public java.util.List getDependencyMgt()
public java.util.List getPlugins()
public java.util.Map getPomProperties()