[WIP] Upgrade ONOS to karaf version 4.2.1

Change-Id: I7cd40c995bdf1c80f94b1895fb3344e32404c7fa
diff --git a/cli/BUILD b/cli/BUILD
index b8a3f5b..9924aac 100644
--- a/cli/BUILD
+++ b/cli/BUILD
@@ -1,5 +1,5 @@
 COMPILE_DEPS = CORE_DEPS + JACKSON + METRICS + [
-    "@org_apache_karaf_shell_console//jar",
+    "@org_apache_karaf_shell_core//jar",
     "//incubator/api:onos-incubator-api",
     "//incubator/net:onos-incubator-net",
     "//utils/rest:onlab-rest",
@@ -7,6 +7,13 @@
 ]
 
 osgi_jar(
+    karaf_command_packages = [
+        "org.onosproject.cli",
+        "org.onosproject.cli.app",
+        "org.onosproject.cli.cfg",
+        "org.onosproject.cli.net",
+        "org.onosproject.cli.security",
+    ],
     visibility = ["//visibility:public"],
     deps = COMPILE_DEPS,
 )