From dd5ff0e01bcc61e41ddab01383aee56318f47195 Mon Sep 17 00:00:00 2001 From: Marek Novotny Date: Mon, 10 Jul 2023 19:56:39 +0200 Subject: [PATCH] Add hadoop commons --- h2o-extensions/krbstandalone/build.gradle | 1 + h2o-persist-hdfs/build.gradle | 2 ++ h2o-persist-s3/build.gradle | 1 + 3 files changed, 4 insertions(+) diff --git a/h2o-extensions/krbstandalone/build.gradle b/h2o-extensions/krbstandalone/build.gradle index 9ac573ace6cc..78f882606bfb 100644 --- a/h2o-extensions/krbstandalone/build.gradle +++ b/h2o-extensions/krbstandalone/build.gradle @@ -3,6 +3,7 @@ description = "H2O Kerberos Standalone support" dependencies { api project(":h2o-core") api project(":h2o-persist-hdfs") + compileOnly("org.apache.hadoop:hadoop-common:$defaultHadoopVersion") api("org.apache.hadoop:hadoop-auth:$defaultHadoopVersion") { // Pull all dependencies to allow run directly from IDE or command line transitive = true diff --git a/h2o-persist-hdfs/build.gradle b/h2o-persist-hdfs/build.gradle index 1822c9b6a69e..0483c02bab21 100644 --- a/h2o-persist-hdfs/build.gradle +++ b/h2o-persist-hdfs/build.gradle @@ -8,11 +8,13 @@ configurations { dependencies { api project(":h2o-core") + compileOnly("org.apache.hadoop:hadoop-common:$defaultHadoopVersion") api("org.apache.hadoop:$defaultHdfsDependency:$defaultHadoopVersion") { // Pull all dependencies to allow run directly from IDE or command line transitive = true } api("org.apache.hadoop:hadoop-aws:$defaultHadoopVersion") + api("com.nimbusds:nimbus-jose-jwt:9.11.3") testImplementation project(":h2o-test-support") diff --git a/h2o-persist-s3/build.gradle b/h2o-persist-s3/build.gradle index 4fe10af31c97..01fea6eb1520 100644 --- a/h2o-persist-s3/build.gradle +++ b/h2o-persist-s3/build.gradle @@ -7,6 +7,7 @@ configurations { dependencies { api project(":h2o-core") + compileOnly("org.apache.hadoop:hadoop-common:$defaultHadoopVersion") api "com.amazonaws:aws-java-sdk-s3:${awsJavaSdkVersion}" api "com.amazonaws:aws-java-sdk-sts:${awsJavaSdkVersion}" // Required by WebIdentityTokenCredentialsProvider from AWS SDK api "org.apache.httpcomponents:httpclient:${httpClientVersion}"