Skip to content

Commit 7889f5c

Browse files
committed
Jackson is now a require dependency, remove it from the docs
1 parent 4944fa0 commit 7889f5c

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

docs/reference/getting-started.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ This page guides you through the installation process of the Java client, shows
2222
```groovy
2323
dependencies {
2424
implementation 'co.elastic.clients:elasticsearch-java:9.0.0-beta1'
25-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0'
2625
}
2726
```
2827

@@ -41,12 +40,6 @@ In the `pom.xml` of your project, add the following repository definition and de
4140
<version>9.0.0-beta1</version>
4241
</dependency>
4342

44-
<dependency>
45-
<groupId>com.fasterxml.jackson.core</groupId>
46-
<artifactId>jackson-databind</artifactId>
47-
<version>2.17.0</version>
48-
</dependency>
49-
5043
</dependencies>
5144
</project>
5245
```

docs/reference/installation.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Releases are hosted on [Maven Central](https://search.maven.org/search?q=g:co.el
1818
```groovy
1919
dependencies {
2020
implementation 'co.elastic.clients:elasticsearch-java:9.0.0-beta1'
21-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0'
2221
}
2322
```
2423

@@ -37,12 +36,6 @@ In the `pom.xml` of your project, add the following repository definition and de
3736
<version>9.0.0-beta1</version>
3837
</dependency>
3938

40-
<dependency>
41-
<groupId>com.fasterxml.jackson.core</groupId>
42-
<artifactId>jackson-databind</artifactId>
43-
<version>2.17.0</version>
44-
</dependency>
45-
4639
</dependencies>
4740
</project>
4841
```

java-client/src/test/java/co/elastic/clients/testkit/ModelTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected enum JsonImpl { Jsonb, Jackson, Simple };
5050
protected final JsonpMapper mapper;
5151

5252
private static JsonImpl chooseJsonImpl(EnumSet<JsonImpl> jsonImplCandidates, int rand) {
53-
// Converting an EnumSet to an array always uses the same order.
53+
// Converting an EnumSet an array always uses the same order.
5454
return jsonImplCandidates.toArray(new JsonImpl[jsonImplCandidates.size()])[rand % jsonImplCandidates.size()];
5555
}
5656

0 commit comments

Comments
 (0)