Start on implementation of apps with multiple included bundles

Change-Id: I8fc8474d5f2ff1b45e0dccfbe3fc20e27cc9000b
diff --git a/apps/mcast/api/BUILD b/apps/mcast/api/BUILD
new file mode 100644
index 0000000..646cfb8
--- /dev/null
+++ b/apps/mcast/api/BUILD
@@ -0,0 +1,4 @@
+osgi_jar(
+    deps = CORE_DEPS,
+    visibility = ["//visibility:public"],
+)
diff --git a/apps/mcast/cli/BUILD b/apps/mcast/cli/BUILD
new file mode 100644
index 0000000..53d4c2c
--- /dev/null
+++ b/apps/mcast/cli/BUILD
@@ -0,0 +1,13 @@
+COMPILE_DEPS = CORE_DEPS + [
+    '@org_apache_karaf_shell_console//jar',
+    '@javax_ws_rs_api//jar',
+    '//cli:onos-cli',
+    '//utils/rest:onlab-rest',
+    '//core/store/serializers:onos-core-serializers',
+    '//apps/mcast/api:onos-apps-mcast-api',
+]
+
+osgi_jar(
+    deps = COMPILE_DEPS,
+    import_packages = '*,org.onosproject.cli.net',
+)
diff --git a/apps/mcast/impl/BUILD b/apps/mcast/impl/BUILD
new file mode 100644
index 0000000..539cac3
--- /dev/null
+++ b/apps/mcast/impl/BUILD
@@ -0,0 +1,8 @@
+COMPILE_DEPS = CORE_DEPS + KRYO + [
+    '//core/store/serializers:onos-core-serializers',
+    '//apps/mcast/api:onos-apps-mcast-api'
+]
+
+osgi_jar(
+    deps = COMPILE_DEPS,
+)
diff --git a/apps/mcast/web/BUILD b/apps/mcast/web/BUILD
new file mode 100644
index 0000000..7835ea3
--- /dev/null
+++ b/apps/mcast/web/BUILD
@@ -0,0 +1,14 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+    '@javax_ws_rs_api//jar',
+    '//utils/rest:onlab-rest',
+    '//apps/mcast/api:onos-apps-mcast-api'
+]
+
+osgi_jar(
+    deps = COMPILE_DEPS,
+    web_context = '/onos/mcast',
+    api_title = 'Multicast API',
+    api_version = '1.0',
+    api_description = 'REST API for Multicast',
+    api_package = 'org.onosproject.mcast.web',
+)