[WIP] apps CLI changes for karaf upgrade

Change-Id: I283efc39c7d4f4b31344f1d2d0cdd2b98a60932d
diff --git a/providers/pcep/cli/BUILD b/providers/pcep/cli/BUILD
index b623bd9..64a75df 100644
--- a/providers/pcep/cli/BUILD
+++ b/providers/pcep/cli/BUILD
@@ -1,9 +1,7 @@
-COMPILE_DEPS = CORE_DEPS + [
-    "@org_apache_karaf_shell_console//jar",
+COMPILE_DEPS = CORE_DEPS + CLI + [
     "//incubator/api:onos-incubator-api",
     "//protocols/pcep/server/ctl:onos-protocols-pcep-server-ctl",
     "//protocols/pcep/server/api:onos-protocols-pcep-server-api",
-    "//cli:onos-cli",
 ]
 
 osgi_jar_with_tests(
diff --git a/providers/pcep/cli/src/main/java/org/onosproject/pcep/cli/PcepSessionCommand.java b/providers/pcep/cli/src/main/java/org/onosproject/pcep/cli/PcepSessionCommand.java
index c46a9a1..e1fc2a5 100644
--- a/providers/pcep/cli/src/main/java/org/onosproject/pcep/cli/PcepSessionCommand.java
+++ b/providers/pcep/cli/src/main/java/org/onosproject/pcep/cli/PcepSessionCommand.java
@@ -16,8 +16,8 @@
 package org.onosproject.pcep.cli;
 
 
-import org.apache.karaf.shell.commands.Argument;
-import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.api.action.Argument;
+import org.apache.karaf.shell.api.action.Command;
 import org.onosproject.cli.AbstractShellCommand;
 import org.onosproject.pcep.server.PcepClientController;
 import org.onosproject.pcep.server.PcepErrorDetail;
@@ -68,7 +68,7 @@
     String peer = null;
 
     @Override
-    protected void execute() {
+    protected void doExecute() {
         switch (name) {
             case SESSION:
                 displayPcepSession();