Replace slf4j-maven-plugin-log with jcabi-maven-slf4j
[yangtools.git] / yang / yang-maven-plugin / src / main / java / org / opendaylight / yangtools / yang2sources / plugin / YangToSourcesMojo.java
index dcaed9513d8b6695aec466df0a577bb9d5586932..174e2acf5f571902a7dad7f873079a689b22449f 100644 (file)
@@ -93,7 +93,7 @@ public final class YangToSourcesMojo extends AbstractMojo {
 
     @Override
     public void execute() throws MojoExecutionException, MojoFailureException {
-        StaticLoggerBinder.SINGLETON.setLog(getLog());
+        StaticLoggerBinder.getSingleton().setMavenLog(this.getLog());
         if (yangToSourcesProcessor == null) {
             List<CodeGeneratorArg> codeGeneratorArgs = processCodeGenerators(codeGenerators);