@Component(role=LifecycleMappingDelegate.class, hint="default") public class DefaultLifecycleMappingDelegate extends Object implements LifecycleMappingDelegate
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.Constructor and Description |
---|
DefaultLifecycleMappingDelegate() |
Modifier and Type | Method and Description |
---|---|
Map<String,List<MojoExecution>> |
calculateLifecycleMappings(MavenSession session,
MavenProject project,
Lifecycle lifecycle,
String lifecyclePhase) |
public static final String HINT
public Map<String,List<MojoExecution>> calculateLifecycleMappings(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.