Commit 52a02acc authored by Constantin Jucovschi's avatar Constantin Jucovschi

removes slf4j dependency

parent e6f2ff22
......@@ -4,7 +4,7 @@
<name>DeepaMehta 4 Plugin Example</name>
<groupId>de.deepamehta</groupId>
<artifactId>deepamehta-plugin-example</artifactId>
<version>0.1-SNAPSHOT</version>
<version>0.2-SNAPSHOT</version>
<packaging>bundle</packaging>
<properties>
......@@ -25,12 +25,6 @@
<version>1.11.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.7</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
......
package de.deepamehta.plugin.example;
import java.util.logging.Logger;
import org.apache.felix.ipojo.annotations.Component;
import org.apache.felix.ipojo.annotations.Instantiate;
import org.apache.felix.ipojo.annotations.Invalidate;
import org.apache.felix.ipojo.annotations.Requires;
import org.apache.felix.ipojo.annotations.Validate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import de.deepamehta.core.TopicType;
import de.deepamehta.core.service.DeepaMehtaService;
......@@ -18,7 +18,7 @@ public class Plugin {
@Requires
DeepaMehtaService deepa;
Logger log = LoggerFactory.getLogger(getClass());
Logger log = Logger.getLogger(getClass().getName());
@Validate
void start() {
......@@ -30,7 +30,6 @@ public class Plugin {
@Invalidate
void stop() {
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment