@Component(role=MojoExecutor.class) public class MojoExecutor extends Object
Executes an individual mojo
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.Constructor and Description |
---|
MojoExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
ensureDependenciesAreResolved(MojoDescriptor mojoDescriptor,
MavenSession session,
DependencyContext dependencyContext) |
void |
execute(MavenSession session,
List<MojoExecution> mojoExecutions,
ProjectIndex projectIndex) |
void |
execute(MavenSession session,
MojoExecution mojoExecution,
ProjectIndex projectIndex,
DependencyContext dependencyContext,
PhaseRecorder phaseRecorder) |
List<MavenProject> |
executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session,
ProjectIndex projectIndex) |
DependencyContext |
newDependencyContext(MavenSession session,
List<MojoExecution> mojoExecutions) |
public DependencyContext newDependencyContext(MavenSession session, List<MojoExecution> mojoExecutions)
public void execute(MavenSession session, List<MojoExecution> mojoExecutions, ProjectIndex projectIndex) throws LifecycleExecutionException
LifecycleExecutionException
public void execute(MavenSession session, MojoExecution mojoExecution, ProjectIndex projectIndex, DependencyContext dependencyContext, PhaseRecorder phaseRecorder) throws LifecycleExecutionException
LifecycleExecutionException
public void ensureDependenciesAreResolved(MojoDescriptor mojoDescriptor, MavenSession session, DependencyContext dependencyContext) throws LifecycleExecutionException
LifecycleExecutionException
public List<MavenProject> executeForkedExecutions(MojoExecution mojoExecution, MavenSession session, ProjectIndex projectIndex) throws LifecycleExecutionException
LifecycleExecutionException
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.