From 38d6a865341dc39967e2cf69e9471945e0b45a22 Mon Sep 17 00:00:00 2001 From: "Jungtaek Lim (HeartSaVioR)" Date: Fri, 13 Mar 2020 18:30:05 +0900 Subject: [PATCH] WIP! Bump up Janino to 3.1.1 + #117 + some modification to publish via Jitpack... --- dev/deps/spark-deps-hadoop-2.7-hive-1.2 | 4 ++-- dev/deps/spark-deps-hadoop-2.7-hive-2.3 | 4 ++-- dev/deps/spark-deps-hadoop-3.2-hive-2.3 | 4 ++-- pom.xml | 20 +++++++++++++++++--- project/SparkBuild.scala | 1 + sql/catalyst/pom.xml | 5 +++-- 6 files changed, 27 insertions(+), 11 deletions(-) diff --git a/dev/deps/spark-deps-hadoop-2.7-hive-1.2 b/dev/deps/spark-deps-hadoop-2.7-hive-1.2 index a958b78ff2afb..68430c306153d 100644 --- a/dev/deps/spark-deps-hadoop-2.7-hive-1.2 +++ b/dev/deps/spark-deps-hadoop-2.7-hive-1.2 @@ -35,7 +35,7 @@ commons-beanutils/1.9.4//commons-beanutils-1.9.4.jar commons-cli/1.2//commons-cli-1.2.jar commons-codec/1.10//commons-codec-1.10.jar commons-collections/3.2.2//commons-collections-3.2.2.jar -commons-compiler/3.1.1//commons-compiler-3.1.1.jar +commons-compiler/SPARK-31101-v1//commons-compiler-SPARK-31101-v1.jar commons-compress/1.8.1//commons-compress-1.8.1.jar commons-configuration/1.6//commons-configuration-1.6.jar commons-crypto/1.0.0//commons-crypto-1.0.0.jar @@ -105,7 +105,7 @@ jakarta.inject/2.6.1//jakarta.inject-2.6.1.jar jakarta.validation-api/2.0.2//jakarta.validation-api-2.0.2.jar jakarta.ws.rs-api/2.1.6//jakarta.ws.rs-api-2.1.6.jar jakarta.xml.bind-api/2.3.2//jakarta.xml.bind-api-2.3.2.jar -janino/3.1.1//janino-3.1.1.jar +janino/SPARK-31101-v1//janino-SPARK-31101-v1.jar javassist/3.25.0-GA//javassist-3.25.0-GA.jar javax.inject/1//javax.inject-1.jar javax.servlet-api/3.1.0//javax.servlet-api-3.1.0.jar diff --git a/dev/deps/spark-deps-hadoop-2.7-hive-2.3 b/dev/deps/spark-deps-hadoop-2.7-hive-2.3 index ecb6caf0b8399..6719005fdaf0f 100644 --- a/dev/deps/spark-deps-hadoop-2.7-hive-2.3 +++ b/dev/deps/spark-deps-hadoop-2.7-hive-2.3 @@ -33,7 +33,7 @@ commons-beanutils/1.9.4//commons-beanutils-1.9.4.jar commons-cli/1.2//commons-cli-1.2.jar commons-codec/1.10//commons-codec-1.10.jar commons-collections/3.2.2//commons-collections-3.2.2.jar -commons-compiler/3.1.1//commons-compiler-3.1.1.jar +commons-compiler/SPARK-31101-v1//commons-compiler-SPARK-31101-v1.jar commons-compress/1.8.1//commons-compress-1.8.1.jar commons-configuration/1.6//commons-configuration-1.6.jar commons-crypto/1.0.0//commons-crypto-1.0.0.jar @@ -118,7 +118,7 @@ jakarta.inject/2.6.1//jakarta.inject-2.6.1.jar jakarta.validation-api/2.0.2//jakarta.validation-api-2.0.2.jar jakarta.ws.rs-api/2.1.6//jakarta.ws.rs-api-2.1.6.jar jakarta.xml.bind-api/2.3.2//jakarta.xml.bind-api-2.3.2.jar -janino/3.1.1//janino-3.1.1.jar +janino/SPARK-31101-v1//janino-SPARK-31101-v1.jar javassist/3.25.0-GA//javassist-3.25.0-GA.jar javax.inject/1//javax.inject-1.jar javax.jdo/3.2.0-m3//javax.jdo-3.2.0-m3.jar diff --git a/dev/deps/spark-deps-hadoop-3.2-hive-2.3 b/dev/deps/spark-deps-hadoop-3.2-hive-2.3 index 85a731c91a52b..579582ee1293d 100644 --- a/dev/deps/spark-deps-hadoop-3.2-hive-2.3 +++ b/dev/deps/spark-deps-hadoop-3.2-hive-2.3 @@ -30,7 +30,7 @@ commons-beanutils/1.9.4//commons-beanutils-1.9.4.jar commons-cli/1.2//commons-cli-1.2.jar commons-codec/1.10//commons-codec-1.10.jar commons-collections/3.2.2//commons-collections-3.2.2.jar -commons-compiler/3.1.1//commons-compiler-3.1.1.jar +commons-compiler/SPARK-31101-v1//commons-compiler-SPARK-31101-v1.jar commons-compress/1.8.1//commons-compress-1.8.1.jar commons-configuration2/2.1.1//commons-configuration2-2.1.1.jar commons-crypto/1.0.0//commons-crypto-1.0.0.jar @@ -117,7 +117,7 @@ jakarta.inject/2.6.1//jakarta.inject-2.6.1.jar jakarta.validation-api/2.0.2//jakarta.validation-api-2.0.2.jar jakarta.ws.rs-api/2.1.6//jakarta.ws.rs-api-2.1.6.jar jakarta.xml.bind-api/2.3.2//jakarta.xml.bind-api-2.3.2.jar -janino/3.1.1//janino-3.1.1.jar +janino/SPARK-31101-v1//janino-SPARK-31101-v1.jar javassist/3.25.0-GA//javassist-3.25.0-GA.jar javax.inject/1//javax.inject-1.jar javax.jdo/3.2.0-m3//javax.jdo-3.2.0-m3.jar diff --git a/pom.xml b/pom.xml index 5f470e00e3c6c..ed0e4d37c7c49 100644 --- a/pom.xml +++ b/pom.xml @@ -178,7 +178,8 @@ 2.6.2 4.1.17 - 3.1.1 + + SPARK-31101-v1 2.30 2.10.5 3.5.2 @@ -246,6 +247,18 @@ 1g + + + jitpack.io + https://jitpack.io + + true + + + false + + + gcs-maven-central-mirror - org.codehaus.janino + com.github.heartsavior.janino janino ${janino.version} - org.codehaus.janino + com.github.heartsavior.janino commons-compiler ${janino.version} diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index b606bdd649d66..8dc13972252b9 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -229,6 +229,7 @@ object SparkBuild extends PomBuild { "gcs-maven-central-mirror" at "https://maven-central.storage-download.googleapis.com/maven2/", DefaultMavenRepository, Resolver.mavenLocal, + "jitpack" at "https://jitpack.io", Resolver.file("local", file(Path.userHome.absolutePath + "/.ivy2/local"))(Resolver.ivyStylePatterns) ), externalResolvers := resolvers.value, diff --git a/sql/catalyst/pom.xml b/sql/catalyst/pom.xml index 9edbb7fec97d0..4cbaf3769b501 100644 --- a/sql/catalyst/pom.xml +++ b/sql/catalyst/pom.xml @@ -92,12 +92,13 @@ scalacheck_${scala.binary.version} test + - org.codehaus.janino + com.github.heartsavior.janino janino - org.codehaus.janino + com.github.heartsavior.janino commons-compiler