Class BuilderCommon
java.lang.Object
org.apache.maven.lifecycle.internal.builder.BuilderCommon
Common code that is shared by the LifecycleModuleBuilder and the LifeCycleWeaveBuilder
- Since:
- 3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ExecutionEventCatapult
private LifecycleDebugLogger
private LifecycleExecutionPlanCalculator
private org.codehaus.plexus.logging.Logger
-
Constructor Summary
ConstructorsConstructorDescriptionBuilderCommon
(LifecycleDebugLogger lifecycleDebugLogger, LifecycleExecutionPlanCalculator lifeCycleExecutionPlanCalculator, org.codehaus.plexus.logging.Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
attachToThread
(MavenProject currentProject) static String
getKey
(MavenProject project) void
handleBuildError
(ReactorContext buildContext, MavenSession rootSession, MavenSession currentSession, MavenProject mavenProject, Throwable t, long buildStartTime) resolveBuildPlan
(MavenSession session, MavenProject project, TaskSegment taskSegment, Set<Artifact> projectArtifacts)
-
Field Details
-
lifecycleDebugLogger
-
lifeCycleExecutionPlanCalculator
-
eventCatapult
-
logger
@Requirement private org.codehaus.plexus.logging.Logger logger
-
-
Constructor Details
-
BuilderCommon
public BuilderCommon() -
BuilderCommon
public BuilderCommon(LifecycleDebugLogger lifecycleDebugLogger, LifecycleExecutionPlanCalculator lifeCycleExecutionPlanCalculator, org.codehaus.plexus.logging.Logger logger)
-
-
Method Details
-
resolveBuildPlan
public MavenExecutionPlan resolveBuildPlan(MavenSession session, MavenProject project, TaskSegment taskSegment, Set<Artifact> projectArtifacts) throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException, NoPluginFoundForPrefixException, LifecycleNotFoundException, PluginVersionResolutionException, LifecycleExecutionException -
handleBuildError
public void handleBuildError(ReactorContext buildContext, MavenSession rootSession, MavenSession currentSession, MavenProject mavenProject, Throwable t, long buildStartTime) -
attachToThread
-
getKey
-