Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-18003: Fix invalid POM for solrj due to jackson (#3998)

Mark Prinsa4f26ddc64e7
diff --git a/changelog/unreleased/SOLR-18003_jackson-bom_import.yml b/changelog/unreleased/SOLR-18003_jackson-bom_import.yml
new file mode 100644
index 00000000000..f856e85aa3e
--- /dev/null
+++ b/changelog/unreleased/SOLR-18003_jackson-bom_import.yml
@@ -0,0 +1,10 @@
+# See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc
+title: Add the Jackson BOM import to solrj
+type: fixed # added, changed, fixed, deprecated, removed, dependency_update, security, other
+authors:
+ - name: Mark Prins
+ nick: mprins
+ url: https://github.com/mprins
+links:
+ - name: SOLR-18003
+ url: https://issues.apache.org/jira/browse/SOLR-18003
diff --git a/solr/solrj/build.gradle b/solr/solrj/build.gradle
index b9520d5b0fd..70106db2a80 100644
--- a/solr/solrj/build.gradle
+++ b/solr/solrj/build.gradle
@@ -27,6 +27,7 @@ import com.diffplug.gradle.spotless.JavaExtension
description = 'Solrj - Solr Java Client'
dependencies {
+ api platform(libs.fasterxml.jackson.bom)
implementation libs.fasterxml.jackson.core.databind
implementation libs.fasterxml.jackson.core.annotations
implementation libs.fasterxml.jackson.core.core