Phase (Maven Plugin API 3.9.16 API) JavaScript is disabled on your browser.     Skip navigation links Overview Class Use Tree Deprecated Index Search Help org.apache.maven.plugin.lifecycle Phase Contents  Description Constructor Summary Method Summary Constructor Details Phase() Method Details addExecution(Execution) getConfiguration() getExecutions() getId() removeExecution(Execution) setConfiguration(Object) setExecutions(List) setId(String) Hide sidebar  Show sidebar Class Phase java.lang.Object org.apache.maven.plugin.lifecycle.Phase All Implemented Interfaces: Serializable public class Phase extends Object implements Serializable A phase mapping definition. Version: $Revision$ $Date$ See Also: Serialized Form Constructor Summary Constructors Constructor Description Phase()   Method Summary All MethodsInstance MethodsConcrete Methods Modifier and Type Method Description void addExecution(Execution execution) Method addExecution. Object getConfiguration() Get configuration to pass to all goals run in this phase. List<Execution> getExecutions() Method getExecutions. String getId() Get the ID of this phase, e.g., generate-sources. void removeExecution(Execution execution) Method removeExecution. void setConfiguration(Object configuration) Set configuration to pass to all goals run in this phase. void setExecutions(List<Execution> executions) Set the goals to execute within the phase. void setId(String id) Set the ID of this phase, e.g., generate-sources. Methods inherited from class Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructor Details Phase public Phase() Method Details addExecution public void addExecution(Execution execution) Method addExecution. Parameters: execution - a execution object. getConfiguration public Object getConfiguration() Get configuration to pass to all goals run in this phase. Returns: Object getExecutions public List<Execution> getExecutions() Method getExecutions. Returns: List getId public String getId() Get the ID of this phase, e.g., generate-sources. Returns: String removeExecution public void removeExecution(Execution execution) Method removeExecution. Parameters: execution - a execution object. setConfiguration public void setConfiguration(Object configuration) Set configuration to pass to all goals run in this phase. Parameters: configuration - a configuration object. setExecutions public void setExecutions(List<Execution> executions) Set the goals to execute within the phase. Parameters: executions - a executions object. setId public void setId(String id) Set the ID of this phase, e.g., generate-sources. Parameters: id - a id object. Copyright © 2001–2026 The Apache Software Foundation. All rights reserved.