Refactor buck external dependencies

Change-Id: Ia4b99493407eb7d4e893804cba6b944f758f085e
diff --git a/apps/metrics/BUCK b/apps/metrics/BUCK
index a4b7f4c..eef6513 100644
--- a/apps/metrics/BUCK
+++ b/apps/metrics/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:METRICS',
     '//lib:org.apache.karaf.shell.console',
     '//lib:javax.ws.rs-api',
     '//utils/rest:onlab-rest',