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
- Author:
- Kristian Rosenvold Builds one or more lifecycles for a full module NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
- 
Constructor SummaryConstructorsConstructorDescriptionBuilderCommon(LifecycleDebugLogger lifecycleDebugLogger, LifecycleExecutionPlanCalculator lifeCycleExecutionPlanCalculator, org.codehaus.plexus.logging.Logger logger) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidattachToThread(MavenProject currentProject) static StringgetKey(MavenProject project) voidhandleBuildError(ReactorContext buildContext, MavenSession rootSession, MavenSession currentSession, MavenProject mavenProject, Throwable t, long buildStartTime) resolveBuildPlan(MavenSession session, MavenProject project, TaskSegment taskSegment, Set<Artifact> projectArtifacts) 
- 
Constructor Details- 
BuilderCommonpublic BuilderCommon()
- 
BuilderCommonpublic BuilderCommon(LifecycleDebugLogger lifecycleDebugLogger, LifecycleExecutionPlanCalculator lifeCycleExecutionPlanCalculator, org.codehaus.plexus.logging.Logger logger) 
 
- 
- 
Method Details- 
resolveBuildPlanpublic MavenExecutionPlan resolveBuildPlan(MavenSession session, MavenProject project, TaskSegment taskSegment, Set<Artifact> projectArtifacts) throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException, NoPluginFoundForPrefixException, LifecycleNotFoundException, PluginVersionResolutionException, LifecycleExecutionException 
- 
handleBuildErrorpublic void handleBuildError(ReactorContext buildContext, MavenSession rootSession, MavenSession currentSession, MavenProject mavenProject, Throwable t, long buildStartTime) 
- 
attachToThread
- 
getKey
 
-