Class PluginExecution
java.lang.Object
org.apache.maven.model.ConfigurationContainer
org.apache.maven.model.PluginExecution
- All Implemented Interfaces:
Serializable
The
<execution> element contains
informations required for the
execution of a plugin.- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod addGoal.getGoals()Method getGoals.getId()Get the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.getPhase()Get the build lifecycle phase to bind the goals in this execution to.voidremoveGoal(String string) Method removeGoal.voidSet the goals to execute with the given configuration.voidSet the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.voidSet the build lifecycle phase to bind the goals in this execution to.Methods inherited from class ConfigurationContainer
getConfiguration, getInherited, isInheritanceApplied, setConfiguration, setInherited, unsetInheritanceApplied
-
Field Details
-
DEFAULT_EXECUTION_ID
- See Also:
-
-
Constructor Details
-
PluginExecution
public PluginExecution()
-
-
Method Details
-
addGoal
-
getGoals
-
getId
Get the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.- Returns:
- String
-
getPhase
Get the build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default phase specified in their metadata.- Returns:
- String
-
removeGoal
-
setGoals
-
setId
Set the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.- Parameters:
id- a id object.
-
setPhase
Set the build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default phase specified in their metadata.- Parameters:
phase- a phase object.
-