Refactor buck external dependencies
Change-Id: Ia4b99493407eb7d4e893804cba6b944f758f085e
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',