@Named public class MavenBuildContextFinalizer extends Object implements org.apache.maven.execution.scope.WeakMojoExecutionListener, BuildContextFinalizer
Constructor and Description |
---|
MavenBuildContextFinalizer() |
Modifier and Type | Method and Description |
---|---|
void |
afterExecutionFailure(org.apache.maven.execution.MojoExecutionEvent event) |
void |
afterMojoExecutionSuccess(org.apache.maven.execution.MojoExecutionEvent event) |
void |
beforeMojoExecution(org.apache.maven.execution.MojoExecutionEvent event) |
protected void |
failBuild(Map<Object,Collection<Message>> messages) |
protected List<AbstractBuildContext> |
getRegisteredContexts() |
void |
registerContext(AbstractBuildContext context) |
protected static MessageSink.Severity |
toMessageSinkSeverity(MessageSeverity severity) |
public void registerContext(AbstractBuildContext context)
registerContext
in interface BuildContextFinalizer
protected List<AbstractBuildContext> getRegisteredContexts()
public void afterMojoExecutionSuccess(org.apache.maven.execution.MojoExecutionEvent event) throws org.apache.maven.plugin.MojoExecutionException
afterMojoExecutionSuccess
in interface org.apache.maven.execution.scope.WeakMojoExecutionListener
org.apache.maven.plugin.MojoExecutionException
protected void failBuild(Map<Object,Collection<Message>> messages) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void beforeMojoExecution(org.apache.maven.execution.MojoExecutionEvent event) throws org.apache.maven.plugin.MojoExecutionException
beforeMojoExecution
in interface org.apache.maven.execution.scope.WeakMojoExecutionListener
org.apache.maven.plugin.MojoExecutionException
public void afterExecutionFailure(org.apache.maven.execution.MojoExecutionEvent event)
afterExecutionFailure
in interface org.apache.maven.execution.scope.WeakMojoExecutionListener
protected static MessageSink.Severity toMessageSinkSeverity(MessageSeverity severity)
Copyright © 2021. All rights reserved.