Class DefaultLifecycleMapping
- java.lang.Object
-
- org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping
-
- All Implemented Interfaces:
LifecycleMapping
public class DefaultLifecycleMapping extends Object implements LifecycleMapping
DefaultLifecycleMapping
-
-
Field Summary
-
Fields inherited from interface org.apache.maven.lifecycle.mapping.LifecycleMapping
ROLE
-
-
Constructor Summary
Constructors Constructor Description DefaultLifecycleMapping()
Deprecated.Should not be used in Java code.DefaultLifecycleMapping(List<Lifecycle> lifecycles)
Ctor to be used in Java code/providers.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,Lifecycle>
getLifecycles()
List<String>
getOptionalMojos(String lifecycle)
Deprecated.Map<String,String>
getPhases(String lifecycle)
Deprecated.
-
-
-
Constructor Detail
-
DefaultLifecycleMapping
@Deprecated public 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.
-
-
Method Detail
-
getLifecycles
public Map<String,Lifecycle> getLifecycles()
- Specified by:
getLifecycles
in interfaceLifecycleMapping
-
getOptionalMojos
@Deprecated public List<String> getOptionalMojos(String lifecycle)
Deprecated.- Specified by:
getOptionalMojos
in interfaceLifecycleMapping
-
getPhases
@Deprecated public Map<String,String> getPhases(String lifecycle)
Deprecated.- Specified by:
getPhases
in interfaceLifecycleMapping
-
-