Class ErrorCodeCrawlerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.exasol.errorcodecrawlermavenplugin.ErrorCodeCrawlerMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="verify",
requiresDependencyResolution=TEST,
defaultPhase=VERIFY,
threadSafe=true)
public class ErrorCodeCrawlerMojo
extends org.apache.maven.plugin.AbstractMojo
This class is the entry point of the plugin.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ErrorCodeCrawlerMojo
public ErrorCodeCrawlerMojo()Constructs a new instance ofErrorCodeCrawlerMojo.This constructor is required by Maven to instantiate the Mojo during the build lifecycle. All parameter injection is handled by Maven through annotated fields, so this constructor does not perform any initialization logic.
Note: This constructor should remain public and parameterless to be compatible with Maven's plugin instantiation mechanism.
-
-
Method Details
-
isEnabled
protected boolean isEnabled()Check if the plugin is enabled and should run.- Returns:
trueif the plugin is enabled, elsefalse
-
execute
public void execute() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-