Skip to content

Commit e810fea

Browse files
committed
GH-5744: Fix missing jackson dependency in elasticsearch modules
ElasticsearchIndex, ElasticsearchDataStructure and ElasticsearchNamespaceStore use Jackson 2 types (ObjectMapper, JsonNode, ObjectNode, TypeReference) that were previously reaching the compile classpath only transitively via elasticsearch-java. Add an explicit jackson-databind dependency to both rdf4j-sail-elasticsearch and rdf4j-sail-elasticsearch-store so the compile dependency is declared rather than assumed
1 parent 43e466d commit e810fea

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

core/sail/elasticsearch-store/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
<groupId>co.elastic.clients</groupId>
1515
<artifactId>elasticsearch-java</artifactId>
1616
</dependency>
17+
<dependency>
18+
<groupId>com.fasterxml.jackson.core</groupId>
19+
<artifactId>jackson-databind</artifactId>
20+
</dependency>
1721
<dependency>
1822
<groupId>org.slf4j</groupId>
1923
<artifactId>jcl-over-slf4j</artifactId>

core/sail/elasticsearch/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,9 @@
1919
<groupId>co.elastic.clients</groupId>
2020
<artifactId>elasticsearch-java</artifactId>
2121
</dependency>
22+
<dependency>
23+
<groupId>com.fasterxml.jackson.core</groupId>
24+
<artifactId>jackson-databind</artifactId>
25+
</dependency>
2226
</dependencies>
2327
</project>

0 commit comments

Comments
 (0)