mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-12-24 18:51:44 +01:00
This was a quite big jump (3.7.2 -> 6.x.x) and we had to face the deprecation of several components. - javabase/host_javabase -> java_language_version and java_runtime_version - java_toolchain/host_java_toolchain -> java_language_version and java_runtime_version - Turnedoff "ReturnValueIgnored" related to ErrorProne - Moved to bazelisk v1.11.0 - patched again the grpc code due to the deprecation of host_javabase as java_toolcahin contains already this information. - resource_jars are also handled as resources because java constructs do not accept them anymore. - Use the OSGIWrapper to fix the path of the resource_hars and untar them. Additionally clean up the code and enable/disable logging through a param. - Fix absolute_javabase in the Dockerfile by providing the absolute path of the local jvm through local_java_repository. The latter is appended to the WORKSPACE file on demand inside the Dockerfile. Change-Id: I96e06fe52b3b49a1a34f01443eec583a95347323 (cherry picked from commit 846c8b167f3e3aa8086b3eab3df94154a75dc423)