Refactor buck external dependencies

Change-Id: Ia4b99493407eb7d4e893804cba6b944f758f085e
diff --git a/apps/acl/BUCK b/apps/acl/BUCK
index fcea504..064c678 100644
--- a/apps/acl/BUCK
+++ b/apps/acl/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:javax.ws.rs-api',
     '//utils/rest:onlab-rest',
     '//core/store/serializers:onos-core-serializers',
diff --git a/apps/artemis/BUCK b/apps/artemis/BUCK
index ebde4fc..82c703a 100644
--- a/apps/artemis/BUCK
+++ b/apps/artemis/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
     '//apps/routing-api:onos-apps-routing-api',
@@ -9,7 +11,8 @@
     ':commons-net',
     ':io.socket-client',
     ':json',
-    ':engine.io-client'
+    ':engine.io-client',
+    '//lib:netty',
  ]
 
 BUNDLES = [
@@ -76,4 +79,4 @@
   sha1 = '854b49396e1e9f9bb0ab025062ddb49c4ed65ca1',
   maven_coords = 'io.socket:engine.io-client:jar:NON-OSGI:0.8.3',
   visibility = [ 'PUBLIC' ],
-)
\ No newline at end of file
+)
diff --git a/apps/bgprouter/BUCK b/apps/bgprouter/BUCK
index ac93991..6c94749 100644
--- a/apps/bgprouter/BUCK
+++ b/apps/bgprouter/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//incubator/api:onos-incubator-api',
     '//apps/routing-api:onos-apps-routing-api',
 ]
diff --git a/apps/castor/BUCK b/apps/castor/BUCK
index 1a3342a..ff3eb9d 100644
--- a/apps/castor/BUCK
+++ b/apps/castor/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
   '//lib:CORE_DEPS',
+  '//lib:JACKSON',
+  '//lib:KRYO',
   '//core/api:onos-api',
   '//lib:javax.ws.rs-api',
   '//lib:jersey-server',
diff --git a/apps/config/BUCK b/apps/config/BUCK
index 3b8cde9..8a8bbb8 100644
--- a/apps/config/BUCK
+++ b/apps/config/BUCK
@@ -4,6 +4,7 @@
 
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//lib:org.apache.karaf.shell.console',
     '//lib:onos-yang-model',
     '//core/store/serializers:onos-core-serializers',
@@ -20,4 +21,4 @@
     url = 'http://onosproject.org',
     description = 'Application to support the Dynamic configuration service and store.',
     required_apps = APPS,
-)
\ No newline at end of file
+)
diff --git a/apps/cord-support/BUCK b/apps/cord-support/BUCK
index c39a4e4..2893bea 100644
--- a/apps/cord-support/BUCK
+++ b/apps/cord-support/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
   '//lib:CORE_DEPS',
+  '//lib:JACKSON',
   '//lib:javax.ws.rs-api',
   '//utils/rest:onlab-rest',
   '//core/store/serializers:onos-core-serializers',
diff --git a/apps/cpman/app/BUCK b/apps/cpman/app/BUCK
index c72ed9f..9b20519 100644
--- a/apps/cpman/app/BUCK
+++ b/apps/cpman/app/BUCK
@@ -1,5 +1,9 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:METRICS',
+    '//lib:KRYO',
+    '//lib:joda-time',
     '//lib:org.apache.karaf.shell.console',
     '//lib:javax.ws.rs-api',
     '//lib:rrd4j',
diff --git a/apps/dhcp/app/BUCK b/apps/dhcp/app/BUCK
index f0d7349..bb5c7d6 100644
--- a/apps/dhcp/app/BUCK
+++ b/apps/dhcp/app/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:javax.ws.rs-api',
     '//lib:org.apache.karaf.shell.console',
     '//apps/dhcp/api:onos-apps-dhcp-api',
diff --git a/apps/dhcprelay/BUCK b/apps/dhcprelay/BUCK
index 7ff6889..cc42956 100644
--- a/apps/dhcprelay/BUCK
+++ b/apps/dhcprelay/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
     '//core/store/serializers:onos-core-serializers',
diff --git a/apps/drivermatrix/BUCK b/apps/drivermatrix/BUCK
index 0151d40..b439e73 100644
--- a/apps/drivermatrix/BUCK
+++ b/apps/drivermatrix/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
 ]
diff --git a/apps/events/BUCK b/apps/events/BUCK
index 3b95037..54fa135 100644
--- a/apps/events/BUCK
+++ b/apps/events/BUCK
@@ -1,7 +1,9 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
+    '//lib:joda-time',
 ]
 
 osgi_jar_with_tests (
diff --git a/apps/evpn-route-service/api/BUCK b/apps/evpn-route-service/api/BUCK
index 68eeacf..d4825d3 100644
--- a/apps/evpn-route-service/api/BUCK
+++ b/apps/evpn-route-service/api/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:joda-time',
 ]
 
 TEST_DEPS = [
diff --git a/apps/evpn-route-service/app/BUCK b/apps/evpn-route-service/app/BUCK
index 1231207..0f7b609 100644
--- a/apps/evpn-route-service/app/BUCK
+++ b/apps/evpn-route-service/app/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//utils/misc:onlab-misc',
     '//core/store/serializers:onos-core-serializers',
     '//apps/evpn-route-service/api:onos-apps-evpn-route-service-api',
diff --git a/apps/evpnopenflow/BUCK b/apps/evpnopenflow/BUCK
index 9bf3b18..69e881f 100644
--- a/apps/evpnopenflow/BUCK
+++ b/apps/evpnopenflow/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
   '//lib:CORE_DEPS',
+  '//lib:JACKSON',
+  '//lib:KRYO',
   '//lib:org.apache.karaf.shell.console',
   '//cli:onos-cli',
   '//incubator/api:onos-incubator-api',
diff --git a/apps/faultmanagement/fmgui/BUCK b/apps/faultmanagement/fmgui/BUCK
index 6c3369e..3d8cfc7 100644
--- a/apps/faultmanagement/fmgui/BUCK
+++ b/apps/faultmanagement/fmgui/BUCK
@@ -1,8 +1,10 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:org.apache.karaf.shell.console',
     '//incubator/api:onos-incubator-api',
     '//cli:onos-cli',
+    '//lib:joda-time',
 ]
 
 osgi_jar_with_tests (
diff --git a/apps/faultmanagement/fmmgr/BUCK b/apps/faultmanagement/fmmgr/BUCK
index 27e6f80..b9c59f8 100644
--- a/apps/faultmanagement/fmmgr/BUCK
+++ b/apps/faultmanagement/fmmgr/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//incubator/api:onos-incubator-api',
     '//core/store/serializers:onos-core-serializers',
 ]
diff --git a/apps/faultmanagement/fmweb/BUCK b/apps/faultmanagement/fmweb/BUCK
index 4e5bcba..f39dcbb 100644
--- a/apps/faultmanagement/fmweb/BUCK
+++ b/apps/faultmanagement/fmweb/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//incubator/api:onos-incubator-api',
     '//utils/rest:onlab-rest',
     '//lib:javax.ws.rs-api',
diff --git a/apps/fwd/BUCK b/apps/fwd/BUCK
index 0e712b9..7893313 100644
--- a/apps/fwd/BUCK
+++ b/apps/fwd/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//core/store/serializers:onos-core-serializers',
     '//core/store/primitives:onos-core-primitives',
     '//core/api:onos-api',
diff --git a/apps/gangliametrics/BUCK b/apps/gangliametrics/BUCK
index 6047cfa..8f9d763 100644
--- a/apps/gangliametrics/BUCK
+++ b/apps/gangliametrics/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:METRICS',
     '//lib:gmetric4j',
     '//lib:metrics-ganglia',
     '//lib:remotetea-oncrpc',
diff --git a/apps/gluon/BUCK b/apps/gluon/BUCK
index a2ddcd9..c2134c4 100644
--- a/apps/gluon/BUCK
+++ b/apps/gluon/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//cli:onos-cli',
     '//lib:httpclient-osgi',
     '//lib:httpcore-osgi',
@@ -33,4 +34,4 @@
     url = 'http://onosproject.org',
     included_bundles = BUNDLES,
     description = 'To fetch data from Gluon Server over Http session.',
-)
\ No newline at end of file
+)
diff --git a/apps/graphitemetrics/BUCK b/apps/graphitemetrics/BUCK
index 7082797..90ca131 100644
--- a/apps/graphitemetrics/BUCK
+++ b/apps/graphitemetrics/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:METRICS',
     '//lib:gmetric4j',
     '//lib:metrics-graphite',
 ]
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 = [
diff --git a/apps/iptopology-api/BUCK b/apps/iptopology-api/BUCK
index 3cc9301..9661e11 100644
--- a/apps/iptopology-api/BUCK
+++ b/apps/iptopology-api/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:joda-time',
 ]
 
 osgi_jar_with_tests (
diff --git a/apps/l3vpn/BUCK b/apps/l3vpn/BUCK
index 840a1c1..a2dc294 100644
--- a/apps/l3vpn/BUCK
+++ b/apps/l3vpn/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//models/l3vpn:onos-models-l3vpn',
     '//apps/config:onos-apps-config',
     '//core/store/serializers:onos-core-serializers',
diff --git a/apps/mappingmanagement/api/BUCK b/apps/mappingmanagement/api/BUCK
index 57e84f4..0e5b8c5 100644
--- a/apps/mappingmanagement/api/BUCK
+++ b/apps/mappingmanagement/api/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//core/store/serializers:onos-core-serializers',
  ]
 
@@ -10,4 +12,4 @@
 osgi_jar_with_tests (
     deps = COMPILE_DEPS,
     test_deps = TEST_DEPS,
-)
\ No newline at end of file
+)
diff --git a/apps/mappingmanagement/cli/BUCK b/apps/mappingmanagement/cli/BUCK
index 7ad36d4..7fcbd24 100644
--- a/apps/mappingmanagement/cli/BUCK
+++ b/apps/mappingmanagement/cli/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:org.apache.karaf.shell.console',
     '//incubator/api:onos-incubator-api',
     '//cli:onos-cli',
diff --git a/apps/mappingmanagement/mgr/BUCK b/apps/mappingmanagement/mgr/BUCK
index 019f25f..5be1e7d 100644
--- a/apps/mappingmanagement/mgr/BUCK
+++ b/apps/mappingmanagement/mgr/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//apps/mappingmanagement/api:onos-apps-mappingmanagement-api',
     '//core/store/serializers:onos-core-serializers',
 ]
diff --git a/apps/mappingmanagement/web/BUCK b/apps/mappingmanagement/web/BUCK
index e45f88c..7744056 100644
--- a/apps/mappingmanagement/web/BUCK
+++ b/apps/mappingmanagement/web/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//utils/rest:onlab-rest',
     '//lib:javax.ws.rs-api',
     '//apps/mappingmanagement/api:onos-apps-mappingmanagement-api',
@@ -8,6 +9,7 @@
 TEST_DEPS = [
     '//lib:TEST_REST',
     '//web/api:onos-rest-tests',
+    '//lib:minimal-json',
 ]
 
 osgi_jar_with_tests (
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',
diff --git a/apps/newoptical/BUCK b/apps/newoptical/BUCK
index 29f0fa9..af3dc1b 100644
--- a/apps/newoptical/BUCK
+++ b/apps/newoptical/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
   '//lib:CORE_DEPS',
+  '//lib:JACKSON',
+  '//lib:KRYO',
   '//core/store/serializers:onos-core-serializers',
   '//lib:org.apache.karaf.shell.console',
   '//cli:onos-cli',
diff --git a/apps/ofagent/BUCK b/apps/ofagent/BUCK
index d5829eb..6c8ef63 100644
--- a/apps/ofagent/BUCK
+++ b/apps/ofagent/BUCK
@@ -1,5 +1,8 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//core/store/serializers:onos-core-serializers',
     '//core/common:onos-core-common',
     '//incubator/api:onos-incubator-api',
@@ -21,6 +24,7 @@
     '//lib:TEST_REST',
     '//lib:jersey-server',
     '//web/api:onos-rest-tests',
+    '//lib:minimal-json',
 ]
 
 osgi_jar_with_tests (
diff --git a/apps/openstacknetworking/BUCK b/apps/openstacknetworking/BUCK
index 3810d31..57990c7 100644
--- a/apps/openstacknetworking/BUCK
+++ b/apps/openstacknetworking/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
   '//lib:CORE_DEPS',
+  '//lib:JACKSON',
+  '//lib:KRYO',
   '//core/store/serializers:onos-core-serializers',
   '//lib:org.apache.karaf.shell.console',
   '//lib:javax.ws.rs-api',
@@ -7,6 +9,7 @@
   '//cli:onos-cli',
   '//apps/openstacknode/api:onos-apps-openstacknode-api',
   '//lib:openstack4j-core',
+  '//lib:joda-time',
 ]
 
 TEST_DEPS = [
diff --git a/apps/openstacknode/app/BUCK b/apps/openstacknode/app/BUCK
index 821cb71..22adbee 100644
--- a/apps/openstacknode/app/BUCK
+++ b/apps/openstacknode/app/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
     '//lib:javax.ws.rs-api',
diff --git a/apps/optical-model/BUCK b/apps/optical-model/BUCK
index e78c286..e82406b 100644
--- a/apps/optical-model/BUCK
+++ b/apps/optical-model/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//incubator/api:onos-incubator-api',
     '//cli:onos-cli',
     '//lib:org.apache.karaf.shell.console',
diff --git a/apps/p4runtime-test/BUCK b/apps/p4runtime-test/BUCK
index 3ba5b5e..c91aced 100644
--- a/apps/p4runtime-test/BUCK
+++ b/apps/p4runtime-test/BUCK
@@ -36,9 +36,10 @@
     '//lib:netty-transport',
     '//lib:netty-transport-native-epoll',
     '//lib:netty-resolver',
+    '//lib:minimal-json',
 ]
 
 osgi_jar_with_tests(
     deps = COMPILE_DEPS,
     test_deps = TEST_DEPS,
-)
\ No newline at end of file
+)
diff --git a/apps/packet-stats/BUCK b/apps/packet-stats/BUCK
index 560294b..e3cf58e 100644
--- a/apps/packet-stats/BUCK
+++ b/apps/packet-stats/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:METRICS',
     '//core/store/serializers:onos-core-serializers',
     '//core/store/primitives:onos-core-primitives',
     '//core/api:onos-api',
diff --git a/apps/pathpainter/BUCK b/apps/pathpainter/BUCK
index fd1aed5..7bd1c17 100644
--- a/apps/pathpainter/BUCK
+++ b/apps/pathpainter/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
 ]
 
 osgi_jar_with_tests (
diff --git a/apps/pce/app/BUCK b/apps/pce/app/BUCK
index dddfdbf..1846ee0 100644
--- a/apps/pce/app/BUCK
+++ b/apps/pce/app/BUCK
@@ -1,21 +1,23 @@
 COMPILE_DEPS = [
-  '//lib:CORE_DEPS',
-  '//lib:COMPILE',
-  '//lib:org.osgi.compendium',
-  '//cli:onos-cli',
-  '//core/store/serializers:onos-core-serializers',
-  '//utils/rest:onlab-rest',
-  '//incubator/api:onos-incubator-api',
-  '//apps/pcep-api:onos-apps-pcep-api',
-  '//utils/misc:onlab-misc',
-  '//core/api:onos-api',
-  '//lib:org.apache.karaf.shell.console',
-  '//lib:javax.ws.rs-api',
-  '//apps/pce/bandwidthmgmt:onos-apps-pce-bandwidthmgmt',
+    '//lib:CORE_DEPS',
+    '//lib:COMPILE',
+    '//lib:JACKSON',
+    '//lib:KRYO',
+    '//lib:org.osgi.compendium',
+    '//cli:onos-cli',
+    '//core/store/serializers:onos-core-serializers',
+    '//utils/rest:onlab-rest',
+    '//incubator/api:onos-incubator-api',
+    '//apps/pcep-api:onos-apps-pcep-api',
+    '//utils/misc:onlab-misc',
+    '//core/api:onos-api',
+    '//lib:org.apache.karaf.shell.console',
+    '//lib:javax.ws.rs-api',
+    '//apps/pce/bandwidthmgmt:onos-apps-pce-bandwidthmgmt',
 ]
 
 TEST_DEPS = [
-  '//lib:TEST_REST',
+    '//lib:TEST_REST',
 ]
 
 osgi_jar_with_tests (
@@ -29,4 +31,4 @@
     category = 'default',
     url = 'http://onosproject.org',
     description = 'PCE as centeral controller App.',
-)
\ No newline at end of file
+)
diff --git a/apps/pce/bandwidthmgmt/BUCK b/apps/pce/bandwidthmgmt/BUCK
index d013ca9..c5f0b25 100644
--- a/apps/pce/bandwidthmgmt/BUCK
+++ b/apps/pce/bandwidthmgmt/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//core/store/serializers:onos-core-serializers',
     '//apps/pcep-api:onos-apps-pcep-api',
 ]
@@ -14,4 +15,4 @@
     category = 'default',
     url = 'http://onosproject.org',
     description = 'PCE Bandwidth Management.',
-)
\ No newline at end of file
+)
diff --git a/apps/pce/pcerest/BUCK b/apps/pce/pcerest/BUCK
index cf442f6..f261ede 100644
--- a/apps/pce/pcerest/BUCK
+++ b/apps/pce/pcerest/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:javax.ws.rs-api',
     '//utils/rest:onlab-rest',
     '//apps/pce/app:onos-apps-pce-app',
@@ -10,6 +11,7 @@
 
 TEST_DEPS = [
     '//lib:TEST_REST',
+    '//lib:minimal-json',
 ]
 
 osgi_jar_with_tests (
diff --git a/apps/pce/pceweb/BUCK b/apps/pce/pceweb/BUCK
index d008201..6ab1b97 100644
--- a/apps/pce/pceweb/BUCK
+++ b/apps/pce/pceweb/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//apps/pce/app:onos-apps-pce-app',
     '//cli:onos-cli',
     '//lib:org.apache.karaf.shell.console',
diff --git a/apps/pcep-api/BUCK b/apps/pcep-api/BUCK
index b0f7332..868899a 100644
--- a/apps/pcep-api/BUCK
+++ b/apps/pcep-api/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//protocols/ovsdb/api:onos-protocols-ovsdb-api',
     '//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
 ]
diff --git a/apps/pim/BUCK b/apps/pim/BUCK
index 607978e..a281975 100644
--- a/apps/pim/BUCK
+++ b/apps/pim/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
     '//incubator/api:onos-incubator-api',
diff --git a/apps/reactive-routing/BUCK b/apps/reactive-routing/BUCK
index 6e81b7a..f1a7cfa 100644
--- a/apps/reactive-routing/BUCK
+++ b/apps/reactive-routing/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:concurrent-trees',
     '//incubator/api:onos-incubator-api',
     '//apps/routing-api:onos-apps-routing-api',
diff --git a/apps/restconf/api/BUCK b/apps/restconf/api/BUCK
index 97d99aa..b54f53c 100644
--- a/apps/restconf/api/BUCK
+++ b/apps/restconf/api/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:jersey-client',
     '//lib:javax.ws.rs-api',
     '//lib:jersey-server',
diff --git a/apps/restconf/restconfmgr/BUCK b/apps/restconf/restconfmgr/BUCK
index 9be0fdc..742d1cc 100644
--- a/apps/restconf/restconfmgr/BUCK
+++ b/apps/restconf/restconfmgr/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:ONOS_YANG',
+    '//lib:JACKSON',
     '//lib:jersey-client',
     '//lib:jersey-server',
     '//lib:javax.ws.rs-api',
@@ -14,4 +16,4 @@
 
 osgi_jar_with_tests (
     deps = COMPILE_DEPS,
-)
\ No newline at end of file
+)
diff --git a/apps/restconf/utils/BUCK b/apps/restconf/utils/BUCK
index 760082d..8ebc904 100644
--- a/apps/restconf/utils/BUCK
+++ b/apps/restconf/utils/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:jersey-client',
     '//lib:jersey-server',
     '//lib:javax.ws.rs-api',
diff --git a/apps/roadm/BUCK b/apps/roadm/BUCK
index 205fd1b..8a87283 100644
--- a/apps/roadm/BUCK
+++ b/apps/roadm/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//core/store/serializers:onos-core-serializers',
     '//apps/optical-model:onos-apps-optical-model',
 ]
diff --git a/apps/route-service/api/BUCK b/apps/route-service/api/BUCK
index 68eeacf..05b3eee 100644
--- a/apps/route-service/api/BUCK
+++ b/apps/route-service/api/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:joda-time',
 ]
 
 TEST_DEPS = [
diff --git a/apps/route-service/app/BUCK b/apps/route-service/app/BUCK
index 289fddc..30e6c49 100644
--- a/apps/route-service/app/BUCK
+++ b/apps/route-service/app/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:concurrent-trees',
     '//core/store/serializers:onos-core-serializers',
     '//apps/route-service/api:onos-apps-route-service-api',
diff --git a/apps/routing-api/BUCK b/apps/routing-api/BUCK
index 4e4939b..8db5219 100644
--- a/apps/routing-api/BUCK
+++ b/apps/routing-api/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//incubator/api:onos-incubator-api',
 ]
 
diff --git a/apps/routing/common/BUCK b/apps/routing/common/BUCK
index 38167dc..7e5d6cb 100644
--- a/apps/routing/common/BUCK
+++ b/apps/routing/common/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
     '//lib:org.apache.karaf.shell.console',
     '//lib:concurrent-trees',
     '//cli:onos-cli',
@@ -7,6 +9,7 @@
     '//apps/routing-api:onos-apps-routing-api',
     '//apps/route-service/api:onos-apps-route-service-api',
     '//core/common:onos-core-common',
+    '//lib:netty',
 ]
 
 TEST_DEPS = [
diff --git a/apps/routing/fpm/BUCK b/apps/routing/fpm/BUCK
index 7ea89b9..98189e7 100644
--- a/apps/routing/fpm/BUCK
+++ b/apps/routing/fpm/BUCK
@@ -1,11 +1,14 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:KRYO',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
     '//incubator/api:onos-incubator-api',
     '//apps/routing-api:onos-apps-routing-api',
     '//apps/route-service/api:onos-apps-route-service-api',
     '//core/store/serializers:onos-core-serializers',
+    '//lib:netty',
 ]
 
 TEST_DEPS = [
diff --git a/apps/scalablegateway/BUCK b/apps/scalablegateway/BUCK
index 1c8fbbf..ca94e6a 100644
--- a/apps/scalablegateway/BUCK
+++ b/apps/scalablegateway/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
     '//core/store/serializers:onos-core-serializers',
diff --git a/apps/sdnip/BUCK b/apps/sdnip/BUCK
index 08f02a4..06f07a1 100644
--- a/apps/sdnip/BUCK
+++ b/apps/sdnip/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//incubator/api:onos-incubator-api',
     '//apps/routing-api:onos-apps-routing-api',
     '//apps/route-service/api:onos-apps-route-service-api',
diff --git a/apps/segmentrouting/BUCK b/apps/segmentrouting/BUCK
index d068897..073f5fe 100644
--- a/apps/segmentrouting/BUCK
+++ b/apps/segmentrouting/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:org.apache.karaf.shell.console',
     '//lib:javax.ws.rs-api',
     '//cli:onos-cli',
@@ -7,6 +9,7 @@
     '//incubator/api:onos-incubator-api',
     '//utils/rest:onlab-rest',
     '//apps/route-service/api:onos-apps-route-service-api',
+    '//lib:joda-time',
 ]
 
 BUNDLES = [
diff --git a/apps/test/demo/BUCK b/apps/test/demo/BUCK
index 753922e..ac94dd7 100644
--- a/apps/test/demo/BUCK
+++ b/apps/test/demo/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
     '//utils/rest:onlab-rest',
diff --git a/apps/test/distributed-primitives/BUCK b/apps/test/distributed-primitives/BUCK
index 27f47e4..089dfa2 100644
--- a/apps/test/distributed-primitives/BUCK
+++ b/apps/test/distributed-primitives/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
     '//utils/rest:onlab-rest',
diff --git a/apps/test/intent-perf/BUCK b/apps/test/intent-perf/BUCK
index c1e5710..29011f7 100644
--- a/apps/test/intent-perf/BUCK
+++ b/apps/test/intent-perf/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
     '//utils/rest:onlab-rest',
diff --git a/apps/test/messaging-perf/BUCK b/apps/test/messaging-perf/BUCK
index 766a707..231d072 100644
--- a/apps/test/messaging-perf/BUCK
+++ b/apps/test/messaging-perf/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
     '//utils/rest:onlab-rest',
diff --git a/apps/tetopology/app/BUCK b/apps/tetopology/app/BUCK
index 61376a4..eb92dc7 100644
--- a/apps/tetopology/app/BUCK
+++ b/apps/tetopology/app/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//apps/tetopology/api:onos-apps-tetopology-api',
     '//incubator/api:onos-incubator-api',
     '//core/store/serializers:onos-core-serializers',
diff --git a/apps/tetunnel/app/BUCK b/apps/tetunnel/app/BUCK
index 7b544a3..aef55f0 100644
--- a/apps/tetunnel/app/BUCK
+++ b/apps/tetunnel/app/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//apps/tetopology/api:onos-apps-tetopology-api',
     '//apps/tetunnel/api:onos-apps-tetunnel-api',
     '//incubator/api:onos-incubator-api',
diff --git a/apps/virtualbng/BUCK b/apps/virtualbng/BUCK
index 8eb51e1..ac68c8d 100644
--- a/apps/virtualbng/BUCK
+++ b/apps/virtualbng/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:jersey-client',
     '//lib:javax.ws.rs-api',
     '//lib:org.apache.karaf.shell.console',
diff --git a/apps/vpls/BUCK b/apps/vpls/BUCK
index eb1ddec..97a5d78 100644
--- a/apps/vpls/BUCK
+++ b/apps/vpls/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:jersey-client',
     '//lib:javax.ws.rs-api',
     '//lib:org.apache.karaf.shell.console',
diff --git a/apps/vtn/sfcmgr/BUCK b/apps/vtn/sfcmgr/BUCK
index c2b7555..9941797 100644
--- a/apps/vtn/sfcmgr/BUCK
+++ b/apps/vtn/sfcmgr/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//core/store/serializers:onos-core-serializers',
     '//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc',
 ]
diff --git a/apps/vtn/vtnmgr/BUCK b/apps/vtn/vtnmgr/BUCK
index b54f6d9a..fdaf355 100644
--- a/apps/vtn/vtnmgr/BUCK
+++ b/apps/vtn/vtnmgr/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:org.apache.karaf.shell.console',
     '//core/store/serializers:onos-core-serializers',
     '//cli:onos-cli',
diff --git a/apps/vtn/vtnrsc/BUCK b/apps/vtn/vtnrsc/BUCK
index 846fc16..c4d5920 100644
--- a/apps/vtn/vtnrsc/BUCK
+++ b/apps/vtn/vtnrsc/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
     '//core/store/serializers:onos-core-serializers',
diff --git a/apps/vtn/vtnweb/BUCK b/apps/vtn/vtnweb/BUCK
index 4089e33..53a640e 100644
--- a/apps/vtn/vtnweb/BUCK
+++ b/apps/vtn/vtnweb/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:javax.ws.rs-api',
     '//utils/rest:onlab-rest',
     '//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc',
@@ -9,6 +10,7 @@
     '//lib:TEST_REST',
     '//utils/osgi:onlab-osgi-tests',
     '//web/api:onos-rest-tests',
+    '//lib:minimal-json',
 ]
 
 osgi_jar_with_tests (
diff --git a/apps/yang-gui/BUCK b/apps/yang-gui/BUCK
index 319dbf6..772b069 100644
--- a/apps/yang-gui/BUCK
+++ b/apps/yang-gui/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:ONOS_YANG',
     '//lib:onos-yang-runtime',
     '//apps/yang:onos-apps-yang',
 ]
diff --git a/apps/yang/BUCK b/apps/yang/BUCK
index 06a5eb7..2cf902b 100644
--- a/apps/yang/BUCK
+++ b/apps/yang/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
   '//lib:CORE_DEPS',
+  '//lib:JACKSON',
   '//core/api:onos-api',
   '//core/common:onos-core-common',
   '//cli:onos-cli',
@@ -46,4 +47,4 @@
   description = 'Base application to bring in the YANG libraries and assemble them for other apps to use.',
   included_bundles = BUNDLES,
   excluded_bundles = EXCLUDED_BUNDLES,
-)
\ No newline at end of file
+)
diff --git a/cli/BUCK b/cli/BUCK
index d00ee98..5e2d397 100644
--- a/cli/BUCK
+++ b/cli/BUCK
@@ -1,10 +1,13 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:METRICS',
     '//lib:org.apache.karaf.shell.console',
     '//incubator/api:onos-incubator-api',
     '//incubator/net:onos-incubator-net',
     '//utils/rest:onlab-rest',
     '//core/common:onos-core-common',
+    '//lib:joda-time',
 ]
 
 osgi_jar (
diff --git a/core/api/BUCK b/core/api/BUCK
index 800a7f1..ea9642d 100644
--- a/core/api/BUCK
+++ b/core/api/BUCK
@@ -1,8 +1,14 @@
 COMPILE_DEPS = [
     '//lib:COMPILE',
+    '//lib:NETTY',
+    '//lib:JACKSON',
+    '//lib:METRICS',
+    '//lib:KRYO',
     '//utils/misc:onlab-misc',
     '//utils/osgi:onlab-osgi',
     '//utils/rest:onlab-rest',
+    '//lib:joda-time',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
@@ -10,4 +16,4 @@
     deps = COMPILE_DEPS,
     javadoc_files = glob(['src/main/javadoc/**/*']),
     javadoc_files_root = 'src/main/javadoc',
-)
\ No newline at end of file
+)
diff --git a/core/common/BUCK b/core/common/BUCK
index 75999d5..46d519d 100644
--- a/core/common/BUCK
+++ b/core/common/BUCK
@@ -1,7 +1,10 @@
 SRC_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:METRICS',
     '//incubator/api:onos-incubator-api',
     '//core/api:onos-api',
+    '//lib:joda-time',
 ]
 
 TEST_DEPS = [
diff --git a/core/net/BUCK b/core/net/BUCK
index f89254e..26b898d 100644
--- a/core/net/BUCK
+++ b/core/net/BUCK
@@ -1,11 +1,15 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:METRICS',
+    '//lib:KRYO',
     '//core/common:onos-core-common',
     '//incubator/api:onos-incubator-api',
     '//utils/rest:onlab-rest',
     '//incubator/net:onos-incubator-net',
     '//incubator/store:onos-incubator-store',
     '//core/store/serializers:onos-core-serializers',
+    '//lib:joda-time',
 ]
 
 TEST_DEPS = [
@@ -14,7 +18,8 @@
     '//core/store/dist:onos-core-dist',
     '//core/store/dist:onos-core-dist-tests',
     '//utils/osgi:onlab-osgi-tests',
-    '//incubator/bmv2/model:onos-incubator-bmv2-model'
+    '//incubator/bmv2/model:onos-incubator-bmv2-model',
+    '//lib:minimal-json',
 ]
 
 osgi_jar_with_tests (
diff --git a/core/security/BUCK b/core/security/BUCK
index dc17338..c9a6a91 100644
--- a/core/security/BUCK
+++ b/core/security/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//core/store/serializers:onos-core-serializers',
 ]
 
diff --git a/core/store/dist/BUCK b/core/store/dist/BUCK
index 0e4731e..3483f64 100644
--- a/core/store/dist/BUCK
+++ b/core/store/dist/BUCK
@@ -1,5 +1,8 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//core/common:onos-core-common',
     '//utils/rest:onlab-rest',
     '//core/store/serializers:onos-core-serializers',
@@ -11,6 +14,7 @@
     '//lib:netty-resolver',
     '//lib:commons-math3',
     '//incubator/api:onos-incubator-api',
+    '//lib:joda-time',
 ]
 
 TEST_DEPS = [
diff --git a/core/store/primitives/BUCK b/core/store/primitives/BUCK
index e90ea5d..1860c07 100644
--- a/core/store/primitives/BUCK
+++ b/core/store/primitives/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//core/common:onos-core-common',
     '//incubator/api:onos-incubator-api',
     '//core/store/serializers:onos-core-serializers',
diff --git a/core/store/serializers/BUCK b/core/store/serializers/BUCK
index 1b8efcf..c1c66da 100644
--- a/core/store/serializers/BUCK
+++ b/core/store/serializers/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//incubator/api:onos-incubator-api',
 ]
 
diff --git a/drivers/arista/BUCK b/drivers/arista/BUCK
index 7f094d9..551afbb 100644
--- a/drivers/arista/BUCK
+++ b/drivers/arista/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:javax.ws.rs-api',
     '//incubator/api:onos-incubator-api',
     '//utils/rest:onlab-rest',
diff --git a/drivers/bmv2/BUCK b/drivers/bmv2/BUCK
index 15f6dcf..a8dfd58 100644
--- a/drivers/bmv2/BUCK
+++ b/drivers/bmv2/BUCK
@@ -2,6 +2,7 @@
 
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:minimal-json',
     '//protocols/p4runtime/api:onos-protocols-p4runtime-api',
     '//incubator/bmv2/model:onos-incubator-bmv2-model',
     '//drivers/default:onos-drivers-default',
diff --git a/drivers/bti/BUCK b/drivers/bti/BUCK
index c7c713d..da0ac30 100644
--- a/drivers/bti/BUCK
+++ b/drivers/bti/BUCK
@@ -6,6 +6,7 @@
     '//lib:snmp-core',
     '//lib:bti7000',
     '//lib:mibs-net-snmp',
+    '//lib:joda-time',
 ]
 
 TEST_DEPS = [
diff --git a/drivers/cisco/rest/BUCK b/drivers/cisco/rest/BUCK
index b4c5b11..5f544d9 100644
--- a/drivers/cisco/rest/BUCK
+++ b/drivers/cisco/rest/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:javax.ws.rs-api',
     '//incubator/api:onos-incubator-api',
     '//utils/rest:onlab-rest',
diff --git a/drivers/corsa/BUCK b/drivers/corsa/BUCK
index dde49d3..7f663bd 100644
--- a/drivers/corsa/BUCK
+++ b/drivers/corsa/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//lib:openflowj',
     '//drivers/default:onos-drivers-default',
     '//drivers/utilities:onos-drivers-utilities',
diff --git a/drivers/default/BUCK b/drivers/default/BUCK
index 1dfb3c7..b79b013 100644
--- a/drivers/default/BUCK
+++ b/drivers/default/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:openflowj',
     '//protocols/openflow/api:onos-protocols-openflow-api',
     '//core/store/serializers:onos-core-serializers',
diff --git a/drivers/flowspec/BUCK b/drivers/flowspec/BUCK
index c62d3a3..baeeed9 100644
--- a/drivers/flowspec/BUCK
+++ b/drivers/flowspec/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//drivers/default:onos-drivers-default',
     '//apps/flowspec-api/flowapi:onos-apps-flowspec-api-flowapi',
 ]
diff --git a/drivers/hp/BUCK b/drivers/hp/BUCK
index ddb62af..889557c 100644
--- a/drivers/hp/BUCK
+++ b/drivers/hp/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//lib:openflowj',
     '//drivers/default:onos-drivers-default',
     '//drivers/utilities:onos-drivers-utilities',
diff --git a/drivers/lisp/BUCK b/drivers/lisp/BUCK
index cd5eb9e..695fc40 100644
--- a/drivers/lisp/BUCK
+++ b/drivers/lisp/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//protocols/lisp/api:onos-protocols-lisp-api',
     '//protocols/lisp/msg:onos-protocols-lisp-msg',
     '//apps/mappingmanagement/api:onos-apps-mappingmanagement-api',
diff --git a/drivers/microsemi/BUCK b/drivers/microsemi/BUCK
index 2787032..2c34c1c 100644
--- a/drivers/microsemi/BUCK
+++ b/drivers/microsemi/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:ONOS_YANG',
     '//drivers/utilities:onos-drivers-utilities',
     '//protocols/netconf/api:onos-protocols-netconf-api',
     '//protocols/netconf/ctl:onos-protocols-netconf-ctl',
diff --git a/drivers/optical/BUCK b/drivers/optical/BUCK
index 8a070d1..3995be7 100644
--- a/drivers/optical/BUCK
+++ b/drivers/optical/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
     '//lib:openflowj',
     '//protocols/openflow/api:onos-protocols-openflow-api',
     '//drivers/default:onos-drivers-default',
diff --git a/incubator/api/BUCK b/incubator/api/BUCK
index 55f80e0..eb7b036 100644
--- a/incubator/api/BUCK
+++ b/incubator/api/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
 ]
 
 TEST_DEPS = [
diff --git a/incubator/bmv2/model/BUCK b/incubator/bmv2/model/BUCK
index 9f313b6..53bfb14 100644
--- a/incubator/bmv2/model/BUCK
+++ b/incubator/bmv2/model/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
-  '//lib:CORE_DEPS'
+  '//lib:CORE_DEPS',
+  '//lib:minimal-json',
 ]
 
 osgi_jar_with_tests (
diff --git a/incubator/net/BUCK b/incubator/net/BUCK
index 5d12d77..902434a 100644
--- a/incubator/net/BUCK
+++ b/incubator/net/BUCK
@@ -1,5 +1,8 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:METRICS',
+    '//lib:KRYO',
     '//core/common:onos-core-common',
     '//incubator/api:onos-incubator-api',
     '//incubator/store:onos-incubator-store',
diff --git a/incubator/store/BUCK b/incubator/store/BUCK
index 83ac2b8..84c5d47 100644
--- a/incubator/store/BUCK
+++ b/incubator/store/BUCK
@@ -1,9 +1,11 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:KRYO',
     '//lib:concurrent-trees',
     '//incubator/api:onos-incubator-api',
     '//core/store/dist:onos-core-dist',
-    '//core/store/serializers:onos-core-serializers'
+    '//core/store/serializers:onos-core-serializers',
+    '//lib:joda-time',
 ]
 
 TEST_DEPS = [
diff --git a/lib/BUCK b/lib/BUCK
index de17152..f1774fc 100644
--- a/lib/BUCK
+++ b/lib/BUCK
@@ -1,4 +1,4 @@
-# ***** This file was auto-generated at Fri, 18 Aug 2017 16:55:01 GMT. Do not edit this file manually. *****
+# ***** This file was auto-generated at Mon, 21 Aug 2017 15:52:00 GMT. Do not edit this file manually. *****
 # ***** Use onos-lib-gen *****
 
 pass_thru_pom(
@@ -12,7 +12,6 @@
   name = 'COMPILE',
   visibility = ['PUBLIC'],
   exported_deps = [
-    ':joda-time',
     ':commons-configuration',
     ':commons-logging',
     ':commons-collections',
@@ -20,37 +19,15 @@
     ':commons-lang3',
     ':commons-io',
     ':commons-pool',
-    ':objenesis',
     ':guava',
-    ':netty',
-    ':netty-buffer',
-    ':netty-common',
-    ':minimal-json',
-    ':kryo',
-    ':reflectasm',
-    ':asm',
-    ':minlog',
-    ':metrics-core',
-    ':metrics-json',
     ':slf4j-api',
     ':osgi-core',
     ':org.osgi.compendium',
     ':org.apache.felix.scr.annotations',
     ':org.apache.felix.scr',
-    ':jackson-annotations',
-    ':jackson-core',
-    ':jackson-databind',
     ':org.apache.karaf.features.core',
     ':org.apache.karaf.system.core',
     ':jsr305',
-    ':onos-yang-datamodel',
-    ':onos-yang-utils-generator',
-    ':onos-yang-model',
-    ':onos-yang-compiler-api',
-    ':onos-yang-maven-plugin',
-    ':onos-yang-serializers-json',
-    ':onos-yang-serializers-xml',
-    ':onos-yang-serializers-utils',
     ':org.apache.servicemix.bundles.dom4j',
   ],
 )
@@ -122,6 +99,15 @@
 )
 
 osgi_feature_group(
+  name = 'NETTY',
+  visibility = ['PUBLIC'],
+  exported_deps = [
+    ':netty-buffer',
+    ':netty-common',
+  ],
+)
+
+osgi_feature_group(
   name = 'GRPC_1.3',
   visibility = ['PUBLIC'],
   exported_deps = [
@@ -149,6 +135,51 @@
   ],
 )
 
+osgi_feature_group(
+  name = 'ONOS_YANG',
+  visibility = ['PUBLIC'],
+  exported_deps = [
+    ':onos-yang-datamodel',
+    ':onos-yang-utils-generator',
+    ':onos-yang-model',
+    ':onos-yang-compiler-api',
+    ':onos-yang-serializers-json',
+    ':onos-yang-serializers-xml',
+    ':onos-yang-serializers-utils',
+  ],
+)
+
+osgi_feature_group(
+  name = 'JACKSON',
+  visibility = ['PUBLIC'],
+  exported_deps = [
+    ':jackson-annotations',
+    ':jackson-core',
+    ':jackson-databind',
+  ],
+)
+
+osgi_feature_group(
+  name = 'METRICS',
+  visibility = ['PUBLIC'],
+  exported_deps = [
+    ':metrics-core',
+    ':metrics-json',
+  ],
+)
+
+osgi_feature_group(
+  name = 'KRYO',
+  visibility = ['PUBLIC'],
+  exported_deps = [
+    ':kryo',
+    ':reflectasm',
+    ':asm',
+    ':minlog',
+    ':objenesis',
+  ],
+)
+
 remote_jar (
   name = 'aopalliance-repackaged',
   out = 'aopalliance-repackaged-2.5.0-b32.jar',
diff --git a/lib/deps.json b/lib/deps.json
index 2653b9d..1dd3852 100644
--- a/lib/deps.json
+++ b/lib/deps.json
@@ -1,7 +1,6 @@
 {
   "libraries": {
     "COMPILE": [
-      "joda-time",
       "commons-configuration",
       "commons-logging",
       "commons-collections",
@@ -9,37 +8,15 @@
       "commons-lang3",
       "commons-io",
       "commons-pool",
-      "objenesis",
       "guava",
-      "netty",
-      "netty-buffer",
-      "netty-common",
-      "minimal-json",
-      "kryo",
-      "reflectasm",
-      "asm",
-      "minlog",
-      "metrics-core",
-      "metrics-json",
       "slf4j-api",
       "osgi-core",
       "org.osgi.compendium",
       "org.apache.felix.scr.annotations",
       "org.apache.felix.scr",
-      "jackson-annotations",
-      "jackson-core",
-      "jackson-databind",
       "org.apache.karaf.features.core",
       "org.apache.karaf.system.core",
       { "name": "jsr305", "compile_only": true },
-      "onos-yang-datamodel",
-      "onos-yang-utils-generator",
-      "onos-yang-model",
-      "onos-yang-compiler-api",
-      "onos-yang-maven-plugin",
-      "onos-yang-serializers-json",
-      "onos-yang-serializers-xml",
-      "onos-yang-serializers-utils",
       "org.apache.servicemix.bundles.dom4j"
     ],
     "CORE_DEPS": [
@@ -88,6 +65,10 @@
       "//core/common:onos-core-common-tests",
       "//utils/osgi:onlab-osgi-tests"
     ],
+    "NETTY": [
+      "netty-buffer",
+      "netty-common"
+    ],
     "GRPC_1.3": [
       "grpc-core-1.3.0",
       "grpc-protobuf-1.3.0",
@@ -105,6 +86,31 @@
       "google-instrumentation-0.3.0",
       "junit-dep",
       "objenesis"
+    ],
+    "ONOS_YANG": [
+      "onos-yang-datamodel",
+      "onos-yang-utils-generator",
+      "onos-yang-model",
+      "onos-yang-compiler-api",
+      "onos-yang-serializers-json",
+      "onos-yang-serializers-xml",
+      "onos-yang-serializers-utils"
+    ],
+    "JACKSON": [
+      "jackson-annotations",
+      "jackson-core",
+      "jackson-databind"
+    ],
+    "METRICS": [
+      "metrics-core",
+      "metrics-json"
+    ],
+    "KRYO": [
+      "kryo",
+      "reflectasm",
+      "asm",
+      "minlog",
+      "objenesis"
     ]
   },
 
diff --git a/protocols/bgp/bgpio/BUCK b/protocols/bgp/bgpio/BUCK
index 982dc44..0656504 100644
--- a/protocols/bgp/bgpio/BUCK
+++ b/protocols/bgp/bgpio/BUCK
@@ -1,7 +1,9 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
     '//lib:COMPILE',
+    '//lib:NETTY',
     '//core/api:onos-api',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/isis/api/BUCK b/protocols/isis/api/BUCK
index 3cc9301..55ca0d0 100644
--- a/protocols/isis/api/BUCK
+++ b/protocols/isis/api/BUCK
@@ -1,5 +1,8 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/isis/ctl/BUCK b/protocols/isis/ctl/BUCK
index b491fe9..f99d235 100644
--- a/protocols/isis/ctl/BUCK
+++ b/protocols/isis/ctl/BUCK
@@ -1,7 +1,10 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
     '//protocols/isis/api:onos-protocols-isis-api',
     '//protocols/isis/isisio:onos-protocols-isis-isisio',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/isis/isisio/BUCK b/protocols/isis/isisio/BUCK
index a8795b9..4484db7 100644
--- a/protocols/isis/isisio/BUCK
+++ b/protocols/isis/isisio/BUCK
@@ -1,6 +1,8 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//protocols/isis/api:onos-protocols-isis-api',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/lisp/api/BUCK b/protocols/lisp/api/BUCK
index 8481517..f88d20c 100644
--- a/protocols/lisp/api/BUCK
+++ b/protocols/lisp/api/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//lib:netty-transport',
     '//protocols/lisp/msg:onos-protocols-lisp-msg',
     '//apps/mappingmanagement/api:onos-apps-mappingmanagement-api',
diff --git a/protocols/lisp/ctl/BUCK b/protocols/lisp/ctl/BUCK
index 8bb9f9e..ea114b5 100644
--- a/protocols/lisp/ctl/BUCK
+++ b/protocols/lisp/ctl/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//protocols/lisp/api:onos-protocols-lisp-api',
     '//protocols/lisp/msg:onos-protocols-lisp-msg',
     '//lib:netty-buffer',
diff --git a/protocols/lisp/msg/BUCK b/protocols/lisp/msg/BUCK
index b1251f2..dbf3d0d 100644
--- a/protocols/lisp/msg/BUCK
+++ b/protocols/lisp/msg/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//lib:netty-buffer'
 ]
 
diff --git a/protocols/netconf/api/BUCK b/protocols/netconf/api/BUCK
index 2b27800..61b3a10 100644
--- a/protocols/netconf/api/BUCK
+++ b/protocols/netconf/api/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/netconf/ctl/BUCK b/protocols/netconf/ctl/BUCK
index dbd6e97..2d79045 100644
--- a/protocols/netconf/ctl/BUCK
+++ b/protocols/netconf/ctl/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:ganymed-ssh2',
     '//protocols/netconf/api:onos-protocols-netconf-api',
     '//cli:onos-cli',
diff --git a/protocols/openflow/api/BUCK b/protocols/openflow/api/BUCK
index c371a02..266a1fc 100644
--- a/protocols/openflow/api/BUCK
+++ b/protocols/openflow/api/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//lib:openflowj',
     '//lib:netty-transport',
 ]
diff --git a/protocols/ospf/api/BUCK b/protocols/ospf/api/BUCK
index 3cc9301..55ca0d0 100644
--- a/protocols/ospf/api/BUCK
+++ b/protocols/ospf/api/BUCK
@@ -1,5 +1,8 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/ospf/ctl/BUCK b/protocols/ospf/ctl/BUCK
index f381e3e..24415cf 100644
--- a/protocols/ospf/ctl/BUCK
+++ b/protocols/ospf/ctl/BUCK
@@ -1,7 +1,10 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
     '//protocols/ospf/api:onos-protocols-ospf-api',
     '//protocols/ospf/protocol:onos-protocols-ospf-protocol',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/ospf/protocol/BUCK b/protocols/ospf/protocol/BUCK
index bae8403..38c51e2 100644
--- a/protocols/ospf/protocol/BUCK
+++ b/protocols/ospf/protocol/BUCK
@@ -1,6 +1,8 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//protocols/ospf/api:onos-protocols-ospf-api',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/ovsdb/api/BUCK b/protocols/ovsdb/api/BUCK
index 5c9a19d..0aff936 100644
--- a/protocols/ovsdb/api/BUCK
+++ b/protocols/ovsdb/api/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
     '//lib:netty-transport',
     '//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
 ]
diff --git a/protocols/ovsdb/ctl/BUCK b/protocols/ovsdb/ctl/BUCK
index 7433c2b..c4ca55b 100644
--- a/protocols/ovsdb/ctl/BUCK
+++ b/protocols/ovsdb/ctl/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
     '//lib:netty-transport',
     '//lib:netty-buffer',
     '//lib:netty-codec',
diff --git a/protocols/ovsdb/rfc/BUCK b/protocols/ovsdb/rfc/BUCK
index 5184298..696bba1 100644
--- a/protocols/ovsdb/rfc/BUCK
+++ b/protocols/ovsdb/rfc/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
     '//lib:netty-buffer',
     '//lib:netty-codec',
 ]
diff --git a/protocols/p4runtime/ctl/BUCK b/protocols/p4runtime/ctl/BUCK
index e4a90e7..899a1ff 100644
--- a/protocols/p4runtime/ctl/BUCK
+++ b/protocols/p4runtime/ctl/BUCK
@@ -13,10 +13,11 @@
 
 TEST_DEPS = [
     '//lib:TEST',
+    '//lib:minimal-json',
     '//incubator/bmv2/model:onos-incubator-bmv2-model',
 ]
 
 osgi_jar_with_tests(
     deps = COMPILE_DEPS,
     test_deps = TEST_DEPS,
-)
\ No newline at end of file
+)
diff --git a/protocols/pcep/ctl/BUCK b/protocols/pcep/ctl/BUCK
index e72e49b..9eb1a8c 100644
--- a/protocols/pcep/ctl/BUCK
+++ b/protocols/pcep/ctl/BUCK
@@ -1,10 +1,14 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//incubator/api:onos-incubator-api',
     '//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
     '//protocols/pcep/api:onos-protocols-pcep-api',
     '//core/store/serializers:onos-core-serializers',
     '//apps/pcep-api:onos-apps-pcep-api',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/pcep/pcepio/BUCK b/protocols/pcep/pcepio/BUCK
index faa0dde..3602eb8 100644
--- a/protocols/pcep/pcepio/BUCK
+++ b/protocols/pcep/pcepio/BUCK
@@ -1,10 +1,12 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//lib:jackson-databind',
     '//lib:jackson-annotations',
     '//lib:osgi-core',
     '//lib:org.apache.karaf.shell.console',
     '//lib:org.apache.felix.scr.annotations',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/restconf/server/rpp/BUCK b/protocols/restconf/server/rpp/BUCK
index 7eaf628..8f7bb52 100644
--- a/protocols/restconf/server/rpp/BUCK
+++ b/protocols/restconf/server/rpp/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:jersey-client',
     '//lib:jersey-server',
     '//lib:javax.ws.rs-api',
diff --git a/protocols/tl1/ctl/BUCK b/protocols/tl1/ctl/BUCK
index 2dc94c2..f451074 100644
--- a/protocols/tl1/ctl/BUCK
+++ b/protocols/tl1/ctl/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//lib:netty-transport',
     '//lib:netty-buffer',
     '//lib:netty-codec',
diff --git a/providers/bgp/cfg/BUCK b/providers/bgp/cfg/BUCK
index 431010a..f3fa14d 100644
--- a/providers/bgp/cfg/BUCK
+++ b/providers/bgp/cfg/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//protocols/bgp/api:onos-protocols-bgp-api',
 ]
 
diff --git a/providers/bgp/topology/BUCK b/providers/bgp/topology/BUCK
index d462cf7..efa8edb 100644
--- a/providers/bgp/topology/BUCK
+++ b/providers/bgp/topology/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//protocols/bgp/api:onos-protocols-bgp-api',
     '//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
     '//incubator/store:onos-incubator-store',
diff --git a/providers/general/device/BUCK b/providers/general/device/BUCK
index 770f6ca..4c7bd78 100644
--- a/providers/general/device/BUCK
+++ b/providers/general/device/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
 ]
 
 TEST_DEPS = [
diff --git a/providers/isis/cfg/BUCK b/providers/isis/cfg/BUCK
index 6ff859a..494b810 100644
--- a/providers/isis/cfg/BUCK
+++ b/providers/isis/cfg/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//protocols/isis/api:onos-protocols-isis-api',
 ]
 
diff --git a/providers/isis/topology/BUCK b/providers/isis/topology/BUCK
index de4e04f..883ced2 100644
--- a/providers/isis/topology/BUCK
+++ b/providers/isis/topology/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//protocols/isis/api:onos-protocols-isis-api',
     '//protocols/isis/ctl:onos-protocols-isis-ctl',
 ]
diff --git a/providers/lldp/BUCK b/providers/lldp/BUCK
index 7e897a6..dfbc97e 100644
--- a/providers/lldp/BUCK
+++ b/providers/lldp/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
     '//providers/lldpcommon:onos-providers-lldpcommon',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
diff --git a/providers/lldpcommon/BUCK b/providers/lldpcommon/BUCK
index 0e34257..19fa4e7 100644
--- a/providers/lldpcommon/BUCK
+++ b/providers/lldpcommon/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
 ]
 
 TEST_DEPS = [
diff --git a/providers/netcfglinks/BUCK b/providers/netcfglinks/BUCK
index ddbe30f..fe1dc0b 100644
--- a/providers/netcfglinks/BUCK
+++ b/providers/netcfglinks/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//providers/lldpcommon:onos-providers-lldpcommon',
 ]
 
diff --git a/providers/netconf/alarm/BUCK b/providers/netconf/alarm/BUCK
index 761f2ed..292fe14 100644
--- a/providers/netconf/alarm/BUCK
+++ b/providers/netconf/alarm/BUCK
@@ -3,6 +3,7 @@
     '//incubator/api:onos-incubator-api',
     '//protocols/netconf/api:onos-protocols-netconf-api',
     '//protocols/netconf/ctl:onos-protocols-netconf-ctl',
+    '//lib:joda-time',
 ]
 
 osgi_jar_with_tests (
diff --git a/providers/netconf/device/BUCK b/providers/netconf/device/BUCK
index 2e462ff..89ee36b 100644
--- a/providers/netconf/device/BUCK
+++ b/providers/netconf/device/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//incubator/api:onos-incubator-api',
     '//protocols/netconf/api:onos-protocols-netconf-api',
 ]
diff --git a/providers/null/BUCK b/providers/null/BUCK
index dcb01a2..440c4a8 100644
--- a/providers/null/BUCK
+++ b/providers/null/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//lib:org.apache.karaf.shell.console',
     '//cli:onos-cli',
 ]
diff --git a/providers/openflow/flow/BUCK b/providers/openflow/flow/BUCK
index cacd1b1..77af1be 100644
--- a/providers/openflow/flow/BUCK
+++ b/providers/openflow/flow/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//lib:openflowj',
     '//protocols/openflow/api:onos-protocols-openflow-api',
 ]
diff --git a/providers/openflow/group/BUCK b/providers/openflow/group/BUCK
index c6a6f6d..6c3a325 100644
--- a/providers/openflow/group/BUCK
+++ b/providers/openflow/group/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//lib:openflowj',
     '//protocols/openflow/api:onos-protocols-openflow-api',
     '//providers/openflow/flow:onos-providers-openflow-flow',
diff --git a/providers/openflow/message/BUCK b/providers/openflow/message/BUCK
index 77ec836..9abaabd 100644
--- a/providers/openflow/message/BUCK
+++ b/providers/openflow/message/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:METRICS',
     '//lib:openflowj',
     '//protocols/openflow/api:onos-protocols-openflow-api',
     '//apps/cpman/api:onos-apps-cpman-api',
diff --git a/providers/openflow/meter/BUCK b/providers/openflow/meter/BUCK
index a2e289d..0e94809 100644
--- a/providers/openflow/meter/BUCK
+++ b/providers/openflow/meter/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//lib:openflowj',
     '//protocols/openflow/api:onos-protocols-openflow-api',
 ]
diff --git a/providers/ospf/topology/BUCK b/providers/ospf/topology/BUCK
index 4197711..bb95985 100644
--- a/providers/ospf/topology/BUCK
+++ b/providers/ospf/topology/BUCK
@@ -6,6 +6,7 @@
 
 TEST_DEPS = [
     '//lib:TEST_ADAPTERS',
+    '//lib:JACKSON',
 ]
 
 osgi_jar_with_tests (
diff --git a/providers/pcep/BUCK b/providers/pcep/BUCK
index 3d57719..08eeea4 100644
--- a/providers/pcep/BUCK
+++ b/providers/pcep/BUCK
@@ -6,6 +6,7 @@
     '//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
     '//protocols/pcep/ctl:onos-protocols-pcep-ctl',
     '//apps/pcep-api:onos-apps-pcep-api',
+    '//lib:netty',
 ]
 
 onos_app (
diff --git a/providers/pcep/topology/BUCK b/providers/pcep/topology/BUCK
index 6d4b0bd..a4442c5 100644
--- a/providers/pcep/topology/BUCK
+++ b/providers/pcep/topology/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
+    '//lib:JACKSON',
     '//incubator/api:onos-incubator-api',
     '//protocols/ovsdb/api:onos-protocols-ovsdb-api',
     '//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
@@ -8,6 +10,7 @@
     '//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
     '//core/api:onos-api-tests',
     '//apps/optical-model:onos-apps-optical-model',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
diff --git a/providers/pcep/tunnel/BUCK b/providers/pcep/tunnel/BUCK
index 465f5fd..8068326 100644
--- a/providers/pcep/tunnel/BUCK
+++ b/providers/pcep/tunnel/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:NETTY',
     '//protocols/ovsdb/api:onos-protocols-ovsdb-api',
     '//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
     '//apps/pcep-api:onos-apps-pcep-api',
@@ -7,6 +8,7 @@
     '//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
     '//protocols/pcep/api:onos-protocols-pcep-api',
     '//protocols/pcep/ctl:onos-protocols-pcep-ctl',
+    '//lib:netty',
 ]
 
 TEST_DEPS = [
diff --git a/providers/rest/device/BUCK b/providers/rest/device/BUCK
index 0538438..d84b307 100644
--- a/providers/rest/device/BUCK
+++ b/providers/rest/device/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//protocols/ovsdb/api:onos-protocols-ovsdb-api',
     '//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
     '//apps/pcep-api:onos-apps-pcep-api',
diff --git a/providers/snmp/device/BUCK b/providers/snmp/device/BUCK
index 3fb3823..c9c49de 100644
--- a/providers/snmp/device/BUCK
+++ b/providers/snmp/device/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//lib:org.apache.servicemix.bundles.snmp4j',
     '//lib:snmp-core',
     '//lib:bti7000',
diff --git a/providers/tl1/device/BUCK b/providers/tl1/device/BUCK
index dddcc78..d2f748f 100644
--- a/providers/tl1/device/BUCK
+++ b/providers/tl1/device/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
     '//incubator/api:onos-incubator-api',
     '//protocols/tl1/api:onos-protocols-tl1-api',
     '//protocols/tl1/ctl:onos-protocols-tl1-ctl',
diff --git a/utils/misc/BUCK b/utils/misc/BUCK
index 73e4917..5b06b9c 100644
--- a/utils/misc/BUCK
+++ b/utils/misc/BUCK
@@ -1,5 +1,9 @@
 COMPILE_DEPS = [
     '//lib:COMPILE',
+    '//lib:NETTY',
+    '//lib:METRICS',
+    '//lib:KRYO',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests(
diff --git a/utils/rest/BUCK b/utils/rest/BUCK
index 7b08a5e..2d7885b 100644
--- a/utils/rest/BUCK
+++ b/utils/rest/BUCK
@@ -1,5 +1,6 @@
 COMPILE_DEPS = [
     '//lib:COMPILE',
+    '//lib:JACKSON',
     '//utils/osgi:onlab-osgi',
     '//utils/misc:onlab-misc',
     '//lib:javax.ws.rs-api',
diff --git a/web/api/BUCK b/web/api/BUCK
index b44a847..69c1cbf 100644
--- a/web/api/BUCK
+++ b/web/api/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:METRICS',
     '//incubator/api:onos-incubator-api',
     '//lib:javax.ws.rs-api',
     '//utils/rest:onlab-rest',
@@ -7,6 +9,7 @@
 
 TEST_DEPS = [
     '//lib:TEST_REST',
+    '//lib:minimal-json',
 ]
 
 osgi_jar_with_tests (
diff --git a/web/gui/BUCK b/web/gui/BUCK
index cacd7b7..7c0747e 100644
--- a/web/gui/BUCK
+++ b/web/gui/BUCK
@@ -2,6 +2,8 @@
 
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:javax.ws.rs-api',
     '//lib:servlet-api',
     '//lib:jetty-websocket',
@@ -14,7 +16,8 @@
     '//incubator/net:onos-incubator-net',
     '//utils/rest:onlab-rest',
     '//core/store/serializers:onos-core-serializers',
-    ':onos-tools-gui'
+    ':onos-tools-gui',
+    '//lib:joda-time',
 ]
 
 TEST_DEPS = [