public class PomDelegate extends DomAccessor
DomAccessor.Function<S,T>| Constructor and Description |
|---|
PomDelegate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkDependency(org.jdom.Element dependencies,
String groupId,
String artifactId,
String version,
String scope) |
boolean |
checkExclusion(org.jdom.Element dependency,
String groupId,
String artifactId) |
org.jdom.Element |
checkPlugin(org.jdom.Element plugins,
String groupId,
String artifactId,
String version) |
org.jdom.Element |
checkPluginExecution(org.jdom.Element plugin,
String goal,
String phase,
String id) |
org.jdom.Document |
createMavenDocument() |
org.jdom.Element |
findDependency(org.jdom.Element dependencies,
String groupId,
String artifactId) |
org.jdom.Element |
findExclusion(org.jdom.Element exclusions,
String groupId,
String artifactId) |
boolean |
findOrCreateDependency(org.jdom.Element dependencies,
String id,
String scope) |
org.jdom.Element |
findPluginExecution(org.jdom.Element executions,
String id) |
protected org.jdom.Namespace |
getNamespace() |
boolean |
isVerbose() |
org.jdom.Document |
openMavenDocument(File pomFile) |
PomDelegate |
setLog(org.apache.maven.plugin.logging.Log log) |
void |
setVerbose(boolean verbose) |
createChild, findChild, findElement, findOrCreateChild, findOrCreateChild, findOrCreateChild, indexOfElement, indexOfLastElement, isModified, loadDocument, loadDocument, selectAttribute, selectAttributes, selectNodes, setModifiedpublic boolean isVerbose()
public void setVerbose(boolean verbose)
public boolean checkDependency(org.jdom.Element dependencies,
String groupId,
String artifactId,
String version,
String scope)
public boolean findOrCreateDependency(org.jdom.Element dependencies,
String id,
String scope)
public boolean checkExclusion(org.jdom.Element dependency,
String groupId,
String artifactId)
public org.jdom.Element checkPlugin(org.jdom.Element plugins,
String groupId,
String artifactId,
String version)
public org.jdom.Element checkPluginExecution(org.jdom.Element plugin,
String goal,
String phase,
String id)
public org.jdom.Document createMavenDocument()
public org.jdom.Element findDependency(org.jdom.Element dependencies,
String groupId,
String artifactId)
public org.jdom.Element findExclusion(org.jdom.Element exclusions,
String groupId,
String artifactId)
public org.jdom.Element findPluginExecution(org.jdom.Element executions,
String id)
protected org.jdom.Namespace getNamespace()
getNamespace in class DomAccessorpublic org.jdom.Document openMavenDocument(File pomFile)
public PomDelegate setLog(org.apache.maven.plugin.logging.Log log)
Copyright © 2022 Unidal Organization. All rights reserved.