@Override public final void execute() throws MojoExecutionException, MojoFailureException { StaticLoggerBinder staticLoggerBinder = StaticLoggerBinder.getSingleton(); staticLoggerBinder.setLog(getLog()); try { doExecute(); } finally { staticLoggerBinder.revokeLog(); } }