This is an automated email from the ASF dual-hosted git repository.
snazy 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 5811b123e Build: remove unnecessary explicit vertx-core dependency
(#2730)
5811b123e is described below
commit 5811b123eda99714a6c945cb5091b7149270add0
Author: Robert Stupp <[email protected]>
AuthorDate: Tue Sep 30 19:00:33 2025 +0200
Build: remove unnecessary explicit vertx-core dependency (#2730)
The async-vertx implementation should not propagate a different Vert.X
dependency than Quarkus provides. This wouldn't be an issue if we could just
use `enforcedPlatform()` for all Quarkus-builds, but sadly we cannot for the
spark-plugin-inttests.
---
gradle/libs.versions.toml | 1 -
persistence/nosql/async/vertx/build.gradle.kts | 7 +++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index a062af48b..137b85b7f 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -106,7 +106,6 @@ swagger-jaxrs = { module = "io.swagger:swagger-jaxrs",
version.ref = "swagger" }
testcontainers-bom = { module = "org.testcontainers:testcontainers-bom",
version = "1.21.3" }
testcontainers-keycloak = { module =
"com.github.dasniko:testcontainers-keycloak", version = "3.8.0" }
threeten-extra = { module = "org.threeten:threeten-extra", version = "1.8.0" }
-vertx-core = { module = "io.vertx:vertx-core", version = "5.0.4" }
weld-se-core = { module = "org.jboss.weld.se:weld-se-core", version =
"6.0.3.Final" }
weld-junit5 = { module = "org.jboss.weld:weld-junit5", version = "5.0.2.Final"
}
diff --git a/persistence/nosql/async/vertx/build.gradle.kts
b/persistence/nosql/async/vertx/build.gradle.kts
index 97d69d726..358b2e05a 100644
--- a/persistence/nosql/async/vertx/build.gradle.kts
+++ b/persistence/nosql/async/vertx/build.gradle.kts
@@ -29,7 +29,9 @@ dependencies {
implementation(libs.slf4j.api)
implementation(libs.guava)
- implementation(libs.vertx.core)
+
+ compileOnly(enforcedPlatform(libs.quarkus.bom))
+ compileOnly("io.vertx:vertx-core")
compileOnly(platform(libs.jackson.bom))
compileOnly("com.fasterxml.jackson.core:jackson-databind")
@@ -44,7 +46,8 @@ dependencies {
testFixturesApi(libs.jakarta.inject.api)
testFixturesApi(libs.jakarta.enterprise.cdi.api)
- testFixturesApi(libs.vertx.core)
+ testFixturesApi(enforcedPlatform(libs.quarkus.bom))
+ testFixturesApi("io.vertx:vertx-core")
testImplementation(testFixtures(project(":polaris-async-api")))
}