@Named @Singleton public class ProjectBuildContextManager extends Object implements org.apache.maven.execution.ProjectExecutionListener, org.apache.maven.execution.MojoExecutionListener
This is optional part of Maven incremental build support. To enable, add buildavoidance build extension.
| Constructor and Description |
|---|
ProjectBuildContextManager(org.apache.maven.lifecycle.DefaultLifecycles defaultLifecycles,
MavenIncrementalConventions conventions) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterExecutionFailure(org.apache.maven.execution.MojoExecutionEvent event) |
void |
afterMojoExecutionSuccess(org.apache.maven.execution.MojoExecutionEvent event) |
void |
afterProjectExecutionFailure(org.apache.maven.execution.ProjectExecutionEvent event) |
void |
afterProjectExecutionSuccess(org.apache.maven.execution.ProjectExecutionEvent event) |
void |
beforeMojoExecution(org.apache.maven.execution.MojoExecutionEvent event) |
void |
beforeProjectExecution(org.apache.maven.execution.ProjectExecutionEvent event) |
void |
beforeProjectLifecycleExecution(org.apache.maven.execution.ProjectExecutionEvent event) |
@Inject
public ProjectBuildContextManager(org.apache.maven.lifecycle.DefaultLifecycles defaultLifecycles,
MavenIncrementalConventions conventions)
public void beforeProjectLifecycleExecution(org.apache.maven.execution.ProjectExecutionEvent event)
throws org.apache.maven.lifecycle.LifecycleExecutionException
beforeProjectLifecycleExecution in interface org.apache.maven.execution.ProjectExecutionListenerorg.apache.maven.lifecycle.LifecycleExecutionExceptionpublic void beforeMojoExecution(org.apache.maven.execution.MojoExecutionEvent event)
throws org.apache.maven.plugin.MojoExecutionException
beforeMojoExecution in interface org.apache.maven.execution.MojoExecutionListenerorg.apache.maven.plugin.MojoExecutionExceptionpublic void beforeProjectExecution(org.apache.maven.execution.ProjectExecutionEvent event)
throws org.apache.maven.lifecycle.LifecycleExecutionException
beforeProjectExecution in interface org.apache.maven.execution.ProjectExecutionListenerorg.apache.maven.lifecycle.LifecycleExecutionExceptionpublic void afterProjectExecutionSuccess(org.apache.maven.execution.ProjectExecutionEvent event)
throws org.apache.maven.lifecycle.LifecycleExecutionException
afterProjectExecutionSuccess in interface org.apache.maven.execution.ProjectExecutionListenerorg.apache.maven.lifecycle.LifecycleExecutionExceptionpublic void afterProjectExecutionFailure(org.apache.maven.execution.ProjectExecutionEvent event)
afterProjectExecutionFailure in interface org.apache.maven.execution.ProjectExecutionListenerpublic void afterMojoExecutionSuccess(org.apache.maven.execution.MojoExecutionEvent event)
throws org.apache.maven.plugin.MojoExecutionException
afterMojoExecutionSuccess in interface org.apache.maven.execution.MojoExecutionListenerorg.apache.maven.plugin.MojoExecutionExceptionpublic void afterExecutionFailure(org.apache.maven.execution.MojoExecutionEvent event)
afterExecutionFailure in interface org.apache.maven.execution.MojoExecutionListenerCopyright © 2014. All Rights Reserved.