Refactor buck external dependencies

Change-Id: Ia4b99493407eb7d4e893804cba6b944f758f085e
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',