Updating buck plugin to track web resources
Also, renaming onosjar to onos.
Change-Id: Ia726772462b0bc997b92dbcb4bdc477ee7b590b0
diff --git a/bucklets/onos.bucklet b/bucklets/onos.bucklet
index cf8d276..7f46235 100644
--- a/bucklets/onos.bucklet
+++ b/bucklets/onos.bucklet
@@ -106,9 +106,9 @@
dynamicimport_packages = '',
export_packages = '*',
package_name_root = 'org.onosproject',
- include_resources = NONE,
+ include_resources = {},
web_context = NONE,
- api_title = NONE,
+ api_title = None,
api_version = NONE,
api_package = NONE,
api_description = NONE,
@@ -134,10 +134,6 @@
if resources and not resources_root:
resources_root = RESOURCES_ROOT
- if api_title != NONE:
- r = 'WEB-INF/classes/apidoc/swagger.json=swagger.json'
- include_resources = include_resources + ',' + r if include_resources != NONE else r
-
mvn_coords = group_id + ':' + name + ':' + version
onos_jar(