Build providers using bazel
Change-Id: I7d4ebcfb1d593e10aa93f0a4f7111680ed66a7e7
diff --git a/providers/snmp/alarm/BUILD b/providers/snmp/alarm/BUILD
new file mode 100644
index 0000000..bb9de5c
--- /dev/null
+++ b/providers/snmp/alarm/BUILD
@@ -0,0 +1,12 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+ "@org_apache_servicemix_bundles_snmp4j//jar",
+ "//incubator/api:onos-incubator-api",
+ "//protocols/snmp/api:onos-protocols-snmp-api",
+ "//protocols/snmp/ctl:onos-protocols-snmp-ctl",
+ "//providers/snmp/device:onos-providers-snmp-device",
+]
+
+osgi_jar_with_tests(
+ exclude_tests = ["org.onosproject.provider.snmp.alarm.impl.SnmpAlarmProviderTest"],
+ deps = COMPILE_DEPS,
+)