Include jackson-core explicitly
jackson-core is not included anymore as part of Gerrit from
v3.5 onwards, therefore the OAuth plugin needs to explicitily
require its version and include it in the plugin's jar.
Change-Id: Iad4caa37402a38bbc36043a8a8dcfdf75260a84b
diff --git a/BUILD b/BUILD
index 0d2e0e4..81871ad 100644
--- a/BUILD
+++ b/BUILD
@@ -21,6 +21,7 @@
resources = glob(["src/main/resources/**/*"]),
deps = [
"@commons-codec//jar:neverlink",
+ "@jackson-core//jar",
"@jackson-databind//jar",
"@scribejava-apis//jar",
"@scribejava-core//jar",
diff --git a/external_plugin_deps.bzl b/external_plugin_deps.bzl
index ffe8a31..aaab198 100644
--- a/external_plugin_deps.bzl
+++ b/external_plugin_deps.bzl
@@ -26,6 +26,11 @@
"@jackson-annotations//jar",
],
)
+ maven_jar(
+ name = "jackson-core",
+ artifact = "com.fasterxml.jackson.core:jackson-core:" + JACKSON_VERS,
+ sha1 = "73d4322a6bda684f676a2b5fe918361c4e5c7cca",
+ )
if not omit_commons_codec:
maven_jar(
name = "commons-codec",