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 59b694e9 Enforce Quarkus platform for `:polaris-quarkus-server` (#739)
59b694e9 is described below

commit 59b694e96f5d8cb1980284caf1cbdde42b765dd5
Author: Robert Stupp <[email protected]>
AuthorDate: Tue Jan 14 13:27:40 2025 +0100

    Enforce Quarkus platform for `:polaris-quarkus-server` (#739)
    
    It is highly recommended to enforce the Quarkus platform dependencies. We 
cannot use `enforcedPlatform()` everywhere else for the Quarkus platform BOM, 
because that clashes with Spark integration tests, see #727.
---
 quarkus/server/build.gradle.kts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/quarkus/server/build.gradle.kts b/quarkus/server/build.gradle.kts
index c27c77e4..7f08e41c 100644
--- a/quarkus/server/build.gradle.kts
+++ b/quarkus/server/build.gradle.kts
@@ -32,7 +32,8 @@ dependencies {
   implementation(project(":polaris-service-common"))
   implementation(project(":polaris-quarkus-service"))
 
-  implementation(platform(libs.quarkus.bom))
+  // enforce the Quarkus _platform_ here, to get a consistent and validated 
set of dependencies
+  implementation(enforcedPlatform(libs.quarkus.bom))
   implementation("io.quarkus:quarkus-container-image-docker")
 
   // override dnsjava version in dependencies due to 
https://github.com/dnsjava/dnsjava/issues/329

Reply via email to