Package org.apache.maven.lifecycle
Interface LifecycleMappingDelegate
- All Known Implementing Classes:
DefaultLifecycleMappingDelegate
public interface 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.
Implementations of this interface must be annotated with either @Named("lifecycle-id") or equivalent plexus
@Component annotations.
- Since:
- 3.2.0
- Author:
- ifedorenko
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncalculateLifecycleMappings(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase)
-
Method Details
-
calculateLifecycleMappings
Map<String,List<MojoExecution>> calculateLifecycleMappings(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException
-