public abstract class AbstractPluginGoal extends Object implements PluginGoal
PluginGoal.LifecyclePhase| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPluginGoal()
Constructor to assign configuration to plugin.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.codehaus.plexus.util.xml.Xpp3Dom |
addChildContainer(org.codehaus.plexus.util.xml.Xpp3Dom parent,
String name)
Add container element to the parent config.
|
protected void |
addChildElement(org.codehaus.plexus.util.xml.Xpp3Dom parent,
String name,
String value)
Add name and string value element to the parent config.
|
protected void |
addDependency(String groupId,
String artifactId,
String version)
Add a dependency for the plugin.
|
protected org.codehaus.plexus.util.xml.Xpp3Dom |
addRootContainer(String name)
Add container element to the root config.
|
protected void |
addRootElement(String name,
boolean value)
Add name and boolean value element to the root config.
|
protected void |
addRootElement(String name,
String value)
Add name and string value element to the root config.
|
void |
groupArtifactVersion(String groupId,
String artifactId,
String version)
Set the Maven Co-ordinates for the plugin.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfiguration, configValue, getConfiguration, getGoals, getName, getPlugin, getWeight, matches, onComplete, onError, onExecute, onSuccessprotected AbstractPluginGoal()
public void groupArtifactVersion(@NonNull
String groupId,
@NonNull
String artifactId,
@NonNull
String version)
groupArtifactVersion in interface PluginGoalgroupId - The groupIdartifactId - The artifactIdversion - The versionprotected final void addRootElement(String name, boolean value)
name - The name of the elementvalue - The value of the elementprotected final void addRootElement(String name, String value)
name - The name of the elementvalue - The value of the elementprotected final org.codehaus.plexus.util.xml.Xpp3Dom addRootContainer(String name)
name - The name of the containerprotected final org.codehaus.plexus.util.xml.Xpp3Dom addChildContainer(org.codehaus.plexus.util.xml.Xpp3Dom parent,
String name)
parent - The parent of the containername - The name of the containerprotected final void addChildElement(org.codehaus.plexus.util.xml.Xpp3Dom parent,
String name,
String value)
parent - The parent of the elementname - The name of the elementvalue - The value of the elementCopyright © 2015–2017. All rights reserved.