Logo Search packages:      
Sourcecode: maven2 version File versions  Download package

org::apache::maven::lifecycle::DefaultLifecycleExecutor Class Reference

Inheritance diagram for org::apache::maven::lifecycle::DefaultLifecycleExecutor:

org::apache::maven::lifecycle::LifecycleExecutor

List of all members.


Detailed Description

Author:
Jason van Zyl

Brett Porter

Version:
$Id: DefaultLifecycleExecutor.java,v 1.16 2005/03/04 09:04:25 jdcasey Exp $
Todo:
because of aggregation, we ended up with cli-ish stuff in here (like line() and the project logging, without much of the event handling)

Definition at line 82 of file DefaultLifecycleExecutor.java.


Public Member Functions

void execute (MavenSession session, ReactorManager rm, EventDispatcher dispatcher) throws BuildFailureException, LifecycleExecutionException
Map getPhaseToLifecycleMap () throws LifecycleExecutionException

Protected Member Functions

void line ()

Package Attributes

String ROLE = LifecycleExecutor.class.getName()

Private Member Functions

void addToLifecycleMappings (Map lifecycleMappings, String phase, MojoExecution mojoExecution, Settings settings)
void bindExecutionToLifecycle (PluginDescriptor pluginDescriptor, Map phaseMap, PluginExecution execution, Settings settings) throws LifecycleExecutionException
Map bindLifecycleForPackaging (MavenSession session, String selectedPhase, MavenProject project, Lifecycle lifecycle) throws LifecycleExecutionException, BuildFailureException, PluginNotFoundException
void bindPluginToLifecycle (Plugin plugin, MavenSession session, Map phaseMap, MavenProject project) throws LifecycleExecutionException, PluginNotFoundException
Map constructLifecycleMappings (MavenSession session, String selectedPhase, MavenProject project, Lifecycle lifecycle) throws LifecycleExecutionException, BuildFailureException, PluginNotFoundException
void executeGoal (String task, MavenSession session, MavenProject project) throws LifecycleExecutionException, BuildFailureException
void executeGoalAndHandleFailures (String task, MavenSession session, MavenProject project, EventDispatcher dispatcher, String event, ReactorManager rm, long buildStartTime, String target) throws BuildFailureException, LifecycleExecutionException
void executeGoals (List goals, Stack forkEntryPoints, MavenSession session, MavenProject project) throws LifecycleExecutionException, BuildFailureException, PluginNotFoundException
void executeGoalWithLifecycle (String task, Stack forkEntryPoints, MavenSession session, Map lifecycleMappings, MavenProject project, Lifecycle lifecycle) throws LifecycleExecutionException, BuildFailureException, PluginNotFoundException
void executeStandaloneGoal (String task, Stack forkEntryPoints, MavenSession session, MavenProject project) throws LifecycleExecutionException, BuildFailureException, PluginNotFoundException
void executeTaskSegments (List taskSegments, ReactorManager rm, MavenSession session, MavenProject rootProject, EventDispatcher dispatcher) throws LifecycleExecutionException, BuildFailureException
Map findArtifactTypeHandlers (MavenProject project, Settings settings, ArtifactRepository localRepository) throws LifecycleExecutionException, PluginNotFoundException
Object findExtension (MavenProject project, String role, String roleHint, Settings settings, ArtifactRepository localRepository) throws LifecycleExecutionException, PluginNotFoundException
void findExtensions (MavenSession session) throws LifecycleExecutionException
Map findMappingsForLifecycle (MavenSession session, MavenProject project, Lifecycle lifecycle) throws LifecycleExecutionException, PluginNotFoundException
List findOptionalMojosForLifecycle (MavenSession session, MavenProject project, Lifecycle lifecycle) throws LifecycleExecutionException, PluginNotFoundException
void forkLifecycle (MojoDescriptor mojoDescriptor, Stack ancestorLifecycleForkers, MavenSession session, MavenProject project) throws LifecycleExecutionException, BuildFailureException, PluginNotFoundException
void forkProjectLifecycle (MojoDescriptor mojoDescriptor, Stack forkEntryPoints, MavenSession session, MavenProject project) throws LifecycleExecutionException, BuildFailureException, PluginNotFoundException
Lifecycle getLifecycleForPhase (String phase) throws BuildFailureException, LifecycleExecutionException
MojoDescriptor getMojoDescriptor (String task, MavenSession session, MavenProject project, String invokedVia, boolean canUsePrefix, boolean isOptionalMojo) throws BuildFailureException, LifecycleExecutionException, PluginNotFoundException
MojoDescriptor getMojoDescriptor (PluginDescriptor pluginDescriptor, String goal) throws LifecycleExecutionException
List getReports (ReportPlugin reportPlugin, ReportSet reportSet, MavenProject project, MavenSession session, MojoExecution mojoExecution) throws LifecycleExecutionException, PluginNotFoundException
List getReports (MavenProject project, MojoExecution mojoExecution, MavenSession session) throws LifecycleExecutionException, PluginNotFoundException
boolean handleExecutionFailure (ReactorManager rm, MavenProject project, Exception e, String task, long buildStartTime)
List processGoalChain (String task, Map phaseMap, Lifecycle lifecycle)
void removeFromLifecycle (Stack lifecycleForkers, Map lifecycleMappings)
List segmentTaskListByAggregationNeeds (List tasks, MavenSession session, MavenProject project) throws LifecycleExecutionException, BuildFailureException
PluginDescriptor verifyPlugin (Plugin plugin, MavenProject project, Settings settings, ArtifactRepository localRepository) throws LifecycleExecutionException, PluginNotFoundException
PluginDescriptor verifyReportPlugin (ReportPlugin plugin, MavenProject project, MavenSession session) throws LifecycleExecutionException, PluginNotFoundException

Private Attributes

ArtifactHandlerManager artifactHandlerManager
List defaultReports
ExtensionManager extensionManager
List lifecycles
Map phaseToLifecycleMap
PluginManager pluginManager

Classes

class  TaskSegment

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index