@Component(role=BuilderCommon.class) public class BuilderCommon extends Object
Constructor and Description |
---|
BuilderCommon() |
BuilderCommon(LifecycleDebugLogger lifecycleDebugLogger,
LifecycleExecutionPlanCalculator lifeCycleExecutionPlanCalculator,
org.codehaus.plexus.logging.Logger logger) |
Modifier and Type | Method and Description |
---|---|
static void |
attachToThread(MavenProject currentProject) |
static String |
getKey(MavenProject project) |
void |
handleBuildError(ReactorContext buildContext,
MavenSession rootSession,
MavenSession currentSession,
MavenProject mavenProject,
Throwable t,
long buildStartTime) |
MavenExecutionPlan |
resolveBuildPlan(MavenSession session,
MavenProject project,
TaskSegment taskSegment,
Set<Artifact> projectArtifacts) |
public BuilderCommon()
public BuilderCommon(LifecycleDebugLogger lifecycleDebugLogger, LifecycleExecutionPlanCalculator lifeCycleExecutionPlanCalculator, org.codehaus.plexus.logging.Logger logger)
public MavenExecutionPlan resolveBuildPlan(MavenSession session, MavenProject project, TaskSegment taskSegment, Set<Artifact> projectArtifacts) throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException, NoPluginFoundForPrefixException, LifecycleNotFoundException, PluginVersionResolutionException, LifecycleExecutionException
public void handleBuildError(ReactorContext buildContext, MavenSession rootSession, MavenSession currentSession, MavenProject mavenProject, Throwable t, long buildStartTime)
public static void attachToThread(MavenProject currentProject)
public static String getKey(MavenProject project)
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.