Class VerifyicaMavenPlugin

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.verifyica.maven.plugin.VerifyicaMavenPlugin
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="test", threadSafe=true, requiresDependencyResolution=TEST) public class VerifyicaMavenPlugin extends org.apache.maven.plugin.AbstractMojo
Class to implement VerifyicaMavenPlugin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method to execute the plugin
    Method to get the version

    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
  • Field Details

    • VERSION

      public static final String VERSION
      Constant
  • Constructor Details

    • VerifyicaMavenPlugin

      public VerifyicaMavenPlugin()
      Constructor
  • Method Details

    • getVersion

      public Optional<String> getVersion()
      Method to get the version
      Returns:
      the version
    • execute

      public void execute() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
      Method to execute the plugin
      Throws:
      org.apache.maven.plugin.MojoFailureException - MojoFailureException
      org.apache.maven.plugin.MojoExecutionException