Package org.apache.maven.lifecycle
Interface LifecycleMappingDelegate
-
- All Known Implementing Classes:
DefaultLifecycleMappingDelegate
public interface LifecycleMappingDelegateLifecycle mapping delegate component interface. Calculates project build execution plan givenLifecycleand 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@Componentannotations.- Since:
- 3.2.0
- See Also:
DefaultLifecycleMappingDelegate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<MojoExecution>>calculateLifecycleMappings(MavenSession session, MavenProject project, Lifecycle lifecycle, java.lang.String lifecyclePhase)
-
-
-
Method Detail
-
calculateLifecycleMappings
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
-
-