code: @Override
     public void execute()  throws MojoExecutionException, MojoFailureException
     {
        ClassLoader oldCL = SecurityActions.getThreadContextClassLoader();
        try 
        {
           SecurityActions.setThreadContextClassLoader(SecurityActions.getClassLoader(ValidatorMojo.class));
  
           Validation.validate(getRarFile().toURI().toURL(), 
              getOutputDir(), getClasspath());
        }
        catch (Throwable t) 
        {
           t.printStackTrace();
        }
        finally
        {
           SecurityActions.setThreadContextClassLoader(oldCL);
        }
     }
docs: Execute
  
  @exception MojoExecutionException Thrown if the plugin cant be executed
  @exception MojoFailureException Thrown if there is an error