Bugfix: fix LISP provider activation problem caused by deps issue

Change-Id: Ie5f9552db8e3b108a746fd56f8c4c64b51703c47
diff --git a/protocols/lisp/ctl/src/main/java/org/onosproject/lisp/ctl/impl/LispControllerBootstrap.java b/protocols/lisp/ctl/src/main/java/org/onosproject/lisp/ctl/impl/LispControllerBootstrap.java
index c529123..56695a4 100644
--- a/protocols/lisp/ctl/src/main/java/org/onosproject/lisp/ctl/impl/LispControllerBootstrap.java
+++ b/protocols/lisp/ctl/src/main/java/org/onosproject/lisp/ctl/impl/LispControllerBootstrap.java
@@ -125,7 +125,7 @@
         try {
             eventLoopGroup = new EpollEventLoopGroup();
             channelClass = EpollDatagramChannel.class;
-        } catch (RuntimeException e) {
+        } catch (NoClassDefFoundError e) {
             log.debug("Failed to initialize native (epoll) transport. "
                         + "Reason: {}. Proceeding with NIO event group.", e);
         }
diff --git a/providers/lisp/BUCK b/providers/lisp/BUCK
index 86fc304..cad7de2 100644
--- a/providers/lisp/BUCK
+++ b/providers/lisp/BUCK
@@ -5,14 +5,14 @@
     '//protocols/lisp/api:onos-protocols-lisp-api',
     '//protocols/lisp/ctl:onos-protocols-lisp-ctl',
     '//protocols/lisp/msg:onos-protocols-lisp-msg',
+    '//apps/mappingmanagement/api:onos-apps-mappingmanagement-api',
 ]
 
 onos_app (
+    app_name = 'org.onosproject.lisp',
     title = 'LISP Provider',
     category = 'Provider',
     url = 'http://onosproject.org',
     included_bundles = BUNDLES,
     description = 'LISP protocol southbound providers.',
 )
-
-