Bazel: Remove unused commons-lang3
After removing Elasticsearch and Jest REST client library, commons lang3
is not used any more in Gerrit core. Given that we have forgotten to
remove it and stil expose it in plugin API only confused the plugins
that depend on it, because the build pass, but then the plugin cannot
work, because the required dependency is missing.
Change-Id: I7af2f9f6cb90e8e52d7ed2efaf4c3af85b47a9e2
diff --git a/WORKSPACE b/WORKSPACE
index 786b9ce..b0ca337 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -325,12 +325,6 @@
)
maven_jar(
- name = "commons_lang3",
- artifact = "org.apache.commons:commons-lang3:3.3.2",
- sha1 = "90a3822c38ec8c996e84c16a3477ef632cbc87a3",
-)
-
-maven_jar(
name = "commons_dbcp",
artifact = "commons-dbcp:commons-dbcp:1.4",
sha1 = "30be73c965cc990b153a100aaaaafcf239f82d39",
diff --git a/gerrit-plugin-api/BUILD b/gerrit-plugin-api/BUILD
index 067b4cd..2a8a36c 100644
--- a/gerrit-plugin-api/BUILD
+++ b/gerrit-plugin-api/BUILD
@@ -22,7 +22,6 @@
"//gerrit-server/src/main/prolog:common",
"//lib/commons:dbcp",
"//lib/commons:lang",
- "//lib/commons:lang3",
"//lib/dropwizard:dropwizard-core",
"//lib/guice:guice",
"//lib/guice:guice-assistedinject",
diff --git a/lib/commons/BUILD b/lib/commons/BUILD
index cc4de55..9e9e056 100644
--- a/lib/commons/BUILD
+++ b/lib/commons/BUILD
@@ -29,12 +29,6 @@
)
java_library(
- name = "lang3",
- data = ["//lib:LICENSE-Apache2.0"],
- exports = ["@commons_lang3//jar"],
-)
-
-java_library(
name = "net",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],