Exclude tests from onos_jar
Change-Id: Ia2fd62bbd18336f4e3b4b45d3faa66595ad3a5d8
diff --git a/bucklets/onos.bucklet b/bucklets/onos.bucklet
index 2e2fa17..8f5a11b 100644
--- a/bucklets/onos.bucklet
+++ b/bucklets/onos.bucklet
@@ -91,7 +91,7 @@
srcs = srcs,
out = name + '.jar',
visibility = visibility,
-)
+ )
def sonar(
name,
@@ -168,7 +168,8 @@
onos_jar(
name = name,
- srcs = srcs + glob(['src/main/webapp/**']),
+ # FIXME webapp path hard coded here probably is not right
+ srcs = srcs + glob(['src/main/webapp/**'], excludes = ['src/main/webapp/tests/**']),
deps = deps,
visibility = visibility,
resources = resources,