Class DefaultLifecycleMapping
java.lang.Object
org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping
- All Implemented Interfaces:
LifecycleMapping
DefaultLifecycleMapping
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<String,
LifecyclePhase> Deprecated.use lifecycles insteadFields inherited from interface org.apache.maven.lifecycle.mapping.LifecycleMapping
ROLE
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Should not be used in Java code.DefaultLifecycleMapping
(List<Lifecycle> lifecycles) Ctor to be used in Java code/providers. -
Method Summary
Modifier and TypeMethodDescriptionprivate Map<String,
LifecyclePhase> getLifecyclePhases
(String lifecycle) getOptionalMojos
(String lifecycle) Deprecated.Deprecated.private void
Plexus: Populates the lifecycle map from the injected list of lifecycle mappings (if not already done).
-
Field Details
-
lifecycles
-
lifecycleMap
-
phases
Deprecated.use lifecycles instead
-
-
Constructor Details
-
DefaultLifecycleMapping
Deprecated.Should not be used in Java code.Default ctor for plexus compatibility: lifecycles are most commonly defined in Plexus XML, that does field injection. Still, for Plexus to be able to instantiate this class, default ctor is needed. -
DefaultLifecycleMapping
Ctor to be used in Java code/providers.
-
-
Method Details
-
initLifecycleMap
private void initLifecycleMap()Plexus: Populates the lifecycle map from the injected list of lifecycle mappings (if not already done). -
getLifecycles
- Specified by:
getLifecycles
in interfaceLifecycleMapping
-
getOptionalMojos
Deprecated.- Specified by:
getOptionalMojos
in interfaceLifecycleMapping
-
getLifecyclePhases
-
getPhases
Deprecated.- Specified by:
getPhases
in interfaceLifecycleMapping
-