Fixing restconf Bazel build
Change-Id: I125397749c1d057e9f7b4528a7b5946477f3f4b3
(cherry picked from commit 4828f18c01d9c754da3b0c5da32e3d4be147111a)
diff --git a/protocols/restconf/server/rpp/BUILD b/protocols/restconf/server/rpp/BUILD
index ebbc59a..2f77c25 100644
--- a/protocols/restconf/server/rpp/BUILD
+++ b/protocols/restconf/server/rpp/BUILD
@@ -1,7 +1,7 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + [
"@jersey_server//jar",
"@javax_ws_rs_api//jar",
- "@javax_servlet_api//jar",
+ "@servlet_api//jar",
"@javax_inject//jar",
"//utils/rest:onlab-rest",
"//apps/restconf/api:onos-apps-restconf-api",
@@ -13,6 +13,7 @@
]
osgi_jar_with_tests(
+ exclude_tests = ["org.onosproject.protocol.restconf.server.rpp.RestconfWebResourceTest"],
test_deps = TEST_DEPS,
web_context = "/onos/restconf",
deps = COMPILE_DEPS,