Class AbstractLoggingMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.metaeffekt.core.maven.kernel.mojo.AbstractLoggingMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
public abstract class AbstractLoggingMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Constructor Summary
Constructors Constructor Description AbstractLoggingMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doExecute()
Perform whatever build-process behavior thisMojo
implements.void
execute()
Execute mojo logic.
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
Execute mojo logic.- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
doExecute
protected abstract void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
Perform whatever build-process behavior thisMojo
implements.- Throws:
org.apache.maven.plugin.MojoExecutionException
- if an unexpected problem occurs. Throwing this exception causes a "BUILD ERROR" message to be displayed.org.apache.maven.plugin.MojoFailureException
- if an expected problem (such as a compilation failure) occurs. Throwing this exception causes a "BUILD FAILURE" message to be displayed.
-
-