This is an automated email from the ASF dual-hosted git repository.
emaynard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new e4445fe2f Spark-IT: use correct configurations (#1444)
e4445fe2f is described below
commit e4445fe2fd48a5b9d53c797ed6d27568be46db93
Author: Robert Stupp <[email protected]>
AuthorDate: Thu Apr 24 19:18:44 2025 +0200
Spark-IT: use correct configurations (#1444)
... do not let Spark leak into Quarkus
---
plugins/spark/v3.5/integration/build.gradle.kts | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/plugins/spark/v3.5/integration/build.gradle.kts
b/plugins/spark/v3.5/integration/build.gradle.kts
index e4611feb3..26841f356 100644
--- a/plugins/spark/v3.5/integration/build.gradle.kts
+++ b/plugins/spark/v3.5/integration/build.gradle.kts
@@ -44,10 +44,11 @@ dependencies {
}
implementation(project(":polaris-quarkus-service"))
- implementation(project(":polaris-api-management-model"))
-
implementation(project(":polaris-spark-${sparkMajorVersion}_${scalaVersion}"))
-
implementation("org.apache.spark:spark-sql_${scalaVersion}:${spark35Version}") {
+ testImplementation(project(":polaris-api-management-model"))
+
testImplementation(project(":polaris-spark-${sparkMajorVersion}_${scalaVersion}"))
+
+
testImplementation("org.apache.spark:spark-sql_${scalaVersion}:${spark35Version}")
{
// exclude log4j dependencies
exclude("org.apache.logging.log4j", "log4j-slf4j2-impl")
exclude("org.apache.logging.log4j", "log4j-api")
@@ -55,12 +56,12 @@ dependencies {
exclude("org.slf4j", "jul-to-slf4j")
}
- implementation(platform(libs.jackson.bom))
- implementation("com.fasterxml.jackson.core:jackson-annotations")
- implementation("com.fasterxml.jackson.core:jackson-core")
- implementation("com.fasterxml.jackson.core:jackson-databind")
+ testImplementation(platform(libs.jackson.bom))
+ testImplementation("com.fasterxml.jackson.core:jackson-annotations")
+ testImplementation("com.fasterxml.jackson.core:jackson-core")
+ testImplementation("com.fasterxml.jackson.core:jackson-databind")
- implementation(
+ testImplementation(
"org.apache.iceberg:iceberg-spark-runtime-${sparkMajorVersion}_${scalaVersion}:${icebergVersion}"
)