Replace slf4j-maven-plugin-log with jcabi-maven-slf4j 75/4775/1
authorRobert Varga <rovarga@cisco.com>
Sat, 25 Jan 2014 22:14:52 +0000 (23:14 +0100)
committerRobert Varga <rovarga@cisco.com>
Sat, 25 Jan 2014 22:22:15 +0000 (23:22 +0100)
Since the former lists GPLv3 in its sources, let's go for the more free
alternative.

Change-Id: Id0349a5f676c7d6e83f05ca2ed7e154d27618331
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-maven-plugin/pom.xml
yang/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesMojo.java

index 1cc76f40f17bd53d252186f2184fff3d4150342c..143b33369304b1d87a8559f3a1fb3ab9dfd06f87 100644 (file)
@@ -48,9 +48,9 @@
             <version>2.0</version>
         </dependency>
         <dependency>
-            <groupId>com.googlecode.slf4j-maven-plugin-log</groupId>
-            <artifactId>slf4j-maven-plugin-log</artifactId>
-            <version>1.0.0</version>
+            <groupId>com.jcabi</groupId>
+            <artifactId>jcabi-maven-slf4j</artifactId>
+            <version>0.8</version>
         </dependency>
         <dependency>
             <groupId>${project.groupId}</groupId>
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);