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