Class DefaultLifecycleMappingDelegate
java.lang.Object
org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate
- All Implemented Interfaces:
LifecycleMappingDelegate
@Component(role=LifecycleMappingDelegate.class,
hint="default")
public class DefaultLifecycleMappingDelegate
extends Object
implements LifecycleMappingDelegate
Lifecycle mapping delegate component interface. Calculates project build execution plan given
Lifecycle
and
lifecycle phase. Standard lifecycles use plugin execution <phase>
or mojo default lifecycle phase to
calculate the execution plan, but custom lifecycles can use alternative mapping strategies.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculateLifecycleMappings
(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase)
-
Field Details
-
HINT
- See Also:
-
-
Constructor Details
-
DefaultLifecycleMappingDelegate
public DefaultLifecycleMappingDelegate()
-
-
Method Details
-
calculateLifecycleMappings
public Map<String,List<MojoExecution>> calculateLifecycleMappings(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException
-