Fix: resolve openstacknetworkingui dependency issue
Change-Id: I31250b22bed17d6058c0f776f64fa02a437404f3
diff --git a/apps/openstacknetworkingui/BUILD b/apps/openstacknetworkingui/BUILD
index faf4563..de75e88 100644
--- a/apps/openstacknetworkingui/BUILD
+++ b/apps/openstacknetworkingui/BUILD
@@ -1,4 +1,7 @@
-EXCLUDE_PACKAGES = "!org.apache.sshd.client,!org.apache.sshd.client.*,!org.apache.sshd.common.util.io"
+BUNDLES = [
+ "//apps/openstacknetworkingui:onos-apps-openstacknetworkingui",
+ "@sshd_core//jar",
+]
COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + REST + [
"//core/store/serializers:onos-core-serializers",
@@ -17,7 +20,6 @@
]
osgi_jar_with_tests(
- import_packages = EXCLUDE_PACKAGES,
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)
@@ -27,6 +29,7 @@
category = "GUI",
description = "Openstack Networking UI Service",
excluded_bundles = EXCLUDED_BUNDLES,
+ included_bundles = BUNDLES,
required_apps = [
"org.onosproject.openstacknetworking",
],