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) 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected boolean
    Check if the plugin is enabled and should run.

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ErrorCodeCrawlerMojo

      public ErrorCodeCrawlerMojo()
  • Method Details

    • isEnabled

      protected boolean isEnabled()
      Check if the plugin is enabled and should run.
      Returns:
      true if the plugin is enabled, else false
    • execute

      public void execute() throws org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoFailureException