Package org.apache.maven.lifecycle
Class DefaultLifecycles
java.lang.Object
org.apache.maven.lifecycle.DefaultLifecycles
- Since:
- 3.0
- Author:
- Jason van Zyl, Kristian Rosenvold
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefaultLifecycles
(Map<String, Lifecycle> lifecycles, org.codehaus.plexus.logging.Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionReturns an ordered list of lifecyclesWe use this to map all phases to the lifecycle that contains it.
-
Field Details
-
STANDARD_LIFECYCLES
-
-
Constructor Details
-
DefaultLifecycles
public DefaultLifecycles() -
DefaultLifecycles
-
-
Method Details
-
get
-
getPhaseToLifecycleMap
We use this to map all phases to the lifecycle that contains it. This is used so that a user can specify the phase they want to execute and we can easily determine what lifecycle we need to run.- Returns:
- A map of lifecycles, indexed on id
-
getLifeCycles
Returns an ordered list of lifecycles -
getLifecyclePhaseList
-