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 givenLifecycle
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 Summary
Constructors Constructor Description DefaultLifecycleMappingDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<MojoExecution>>
calculateLifecycleMappings(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase)
-
-
-
Field Detail
-
HINT
public static final String HINT
- See Also:
- Constant Field Values
-
-
Method Detail
-
calculateLifecycleMappings
public Map<String,List<MojoExecution>> calculateLifecycleMappings(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException
-
-