plugin-manager: Migrate to commons lang v3
Change-Id: Iaac633a5e8156ebe4ecdbee875f777e64ec00b8b
diff --git a/BUILD b/BUILD
index b047e31..c206225 100644
--- a/BUILD
+++ b/BUILD
@@ -1,5 +1,5 @@
load("//tools/bzl:junit.bzl", "junit_tests")
-load("//tools/bzl:plugin.bzl", "PLUGIN_TEST_DEPS", "gerrit_plugin")
+load("//tools/bzl:plugin.bzl", "PLUGIN_DEPS", "PLUGIN_TEST_DEPS", "gerrit_plugin")
gerrit_plugin(
name = "plugin-manager",
@@ -13,6 +13,9 @@
"Implementation-URL: https://gerrit-review.googlesource.com/#/admin/projects/plugins/plugin-manager",
],
resources = glob(["src/main/resources/**/*"]),
+ deps = PLUGIN_DEPS + [
+ "@commons-lang3//jar",
+ ],
)
junit_tests(
diff --git a/src/main/java/com/googlesource/gerrit/plugins/manager/repository/JenkinsCiPluginsRepository.java b/src/main/java/com/googlesource/gerrit/plugins/manager/repository/JenkinsCiPluginsRepository.java
index 2ccc9d0..2260a65 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/manager/repository/JenkinsCiPluginsRepository.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/manager/repository/JenkinsCiPluginsRepository.java
@@ -36,7 +36,7 @@
import java.util.List;
import java.util.Optional;
import java.util.function.Function;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
@Singleton
public class JenkinsCiPluginsRepository implements PluginsRepository {