org.apache.maven.project
Class EmptyLifecycleExecutor
java.lang.Object
org.apache.maven.project.EmptyLifecycleExecutor
- All Implemented Interfaces:
- LifecycleExecutor
public class EmptyLifecycleExecutor
- extends Object
- implements LifecycleExecutor
A stub implementation that assumes an empty lifecycle to bypass interaction with the plugin manager and to avoid
plugin artifact resolution from repositories.
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyLifecycleExecutor
public EmptyLifecycleExecutor()
calculateExecutionPlan
public MavenExecutionPlan calculateExecutionPlan(MavenSession session,
String... tasks)
- Specified by:
calculateExecutionPlan
in interface LifecycleExecutor
calculateExecutionPlan
public MavenExecutionPlan calculateExecutionPlan(MavenSession session,
boolean setup,
String... tasks)
- Specified by:
calculateExecutionPlan
in interface LifecycleExecutor
execute
public void execute(MavenSession session)
- Specified by:
execute
in interface LifecycleExecutor
getPluginsBoundByDefaultToAllLifecycles
public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging)
- Specified by:
getPluginsBoundByDefaultToAllLifecycles
in interface LifecycleExecutor
calculateForkedExecutions
public void calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session)
- Specified by:
calculateForkedExecutions
in interface LifecycleExecutor
executeForkedExecutions
public List<MavenProject> executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session)
- Specified by:
executeForkedExecutions
in interface LifecycleExecutor
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.