@Component(role=MojoExecutor.class) public class MojoExecutor extends Object
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 MojoExecutor()
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–2014 The Apache Software Foundation. All rights reserved.