public interface 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.
Implementations of this interface must be annotated with either @Named("lifecycle-id")
or equivalent plexus
@Component
annotations.
DefaultLifecycleMappingDelegate
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<MojoExecution>> |
calculateLifecycleMappings(MavenSession session,
MavenProject project,
Lifecycle lifecycle,
java.lang.String lifecyclePhase) |
java.util.Map<java.lang.String,java.util.List<MojoExecution>> calculateLifecycleMappings(MavenSession session, MavenProject project, Lifecycle lifecycle, java.lang.String lifecyclePhase) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException