Refactor buck external dependencies

Change-Id: Ia4b99493407eb7d4e893804cba6b944f758f085e
diff --git a/apps/influxdbmetrics/BUCK b/apps/influxdbmetrics/BUCK
index 2f27aa1..3a10bc5 100644
--- a/apps/influxdbmetrics/BUCK
+++ b/apps/influxdbmetrics/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:METRICS',
     '//lib:org.apache.karaf.shell.console',
     '//lib:metrics-influxdb',
     '//lib:influxdb-java',
@@ -9,6 +10,7 @@
     '//lib:okio',
     '//lib:gson',
     '//cli:onos-cli',
+    '//lib:joda-time',
 ]
 
 EXCLUDED_BUNDLES = [