You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by sn...@apache.org on 2026/04/21 07:48:27 UTC
(polaris) branch main updated: NoSQL: fix compilation warning (#4252)
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 523fe9e437 NoSQL: fix compilation warning (#4252)
523fe9e437 is described below
commit 523fe9e43721306a6e3f9def48d9160b239d45dd
Author: Robert Stupp <sn...@snazy.de>
AuthorDate: Tue Apr 21 09:48:16 2026 +0200
NoSQL: fix compilation warning (#4252)
Fixes this compilation warning:
```
warning: unknown enum constant Include.NON_DEFAULT
reason: class file for com.fasterxml.jackson.annotation.JsonInclude$Include not found
```
---
persistence/nosql/persistence/cdi/quarkus/build.gradle.kts | 3 +++
persistence/nosql/persistence/db/mongodb/build.gradle.kts | 3 +++
2 files changed, 6 insertions(+)
diff --git a/persistence/nosql/persistence/cdi/quarkus/build.gradle.kts b/persistence/nosql/persistence/cdi/quarkus/build.gradle.kts
index b680086c97..274e1ffeb0 100644
--- a/persistence/nosql/persistence/cdi/quarkus/build.gradle.kts
+++ b/persistence/nosql/persistence/cdi/quarkus/build.gradle.kts
@@ -46,6 +46,9 @@ dependencies {
compileOnly(libs.smallrye.config.core)
+ compileOnly(platform(libs.jackson.bom))
+ compileOnly("com.fasterxml.jackson.core:jackson-annotations")
+
compileOnly(project(":polaris-immutables"))
annotationProcessor(project(":polaris-immutables", configuration = "processor"))
diff --git a/persistence/nosql/persistence/db/mongodb/build.gradle.kts b/persistence/nosql/persistence/db/mongodb/build.gradle.kts
index 3abdfb7cb9..d1181f6600 100644
--- a/persistence/nosql/persistence/db/mongodb/build.gradle.kts
+++ b/persistence/nosql/persistence/db/mongodb/build.gradle.kts
@@ -71,6 +71,9 @@ testing {
dependencies {
runtimeOnly(platform(libs.testcontainers.bom))
runtimeOnly("org.testcontainers:testcontainers-mongodb")
+
+ compileOnly(platform(libs.jackson.bom))
+ compileOnly("com.fasterxml.jackson.core:jackson-annotations")
}
}
}