code: public void run () throws MojoExecutionException, MojoFailureException
    {
      ESuccess exitCode;
      try
      {
        if (getLog ().isDebugEnabled ())
        {
          getLog ().debug ("Running " + getToolName () + ": " + this);
        }
        exitCode = execute ();
      }
      catch (final Exception e)
      {
        throw new MojoExecutionException ("Failed to execute " + getToolName (), e);
      }
      if (exitCode.isFailure ())
      {
        throw new MojoFailureException (getToolName () + " reported failure: " + this);
      }
    }
docs: Runs the tool using the previously set parameters.
  
  @throws MojoExecutionException
  If the tool could not be invoked.
  @throws MojoFailureException
  If the tool reported a non-zero exit code.