public void executeMojo ( MojoExecution mojo ) throws MojoExecutionException , MojoFailureException { try { this . buildPluginManager . executeMojo ( this . session , mojo ) ; } catch ( PluginConfigurationException | PluginManagerException e ) { throw new MojoFailureException ( e . getLocalizedMessage ( ) , e ) ; } }
Execute the given mojo .