First attempt at supporting builds with Java 11
Includes:
- Bump protobuf to 3.8.0 and grpc-java to 1.21.0 (along with transitive
dependencies such as Netty)
- Add jaxb_api at compile time when needed (removed in JDK 11)
- Bump Bnd to 4.1 (adds support for Java 11)
To build with JDK 11, uncomment lines in .bazelrc.
Tested with Bazel 0.26.0.
Change-Id: Ib8e0c7310eacf97328762606e57c01e4834e5565
diff --git a/tools/package/features/BUILD b/tools/package/features/BUILD
index 2ac1236..ebbbdc0 100644
--- a/tools/package/features/BUILD
+++ b/tools/package/features/BUILD
@@ -68,7 +68,7 @@
description = "ONOS 3rd party dependencies for web apps",
included_bundles = [
"@jersey_common//jar",
- "@javax_annotation_api_mvn//jar",
+ "@javax_annotation_javax_annotation_api//jar",
"@javax_ws_rs_api//jar",
"@hk2_api//jar",
"@hk2_locator//jar",