Skip to content

Commit 0cbc368

Browse files
authored
Java driver and Spring integrations: Clarify dependency versions (#729)
1 parent 81370ad commit 0cbc368

File tree

15 files changed

+54
-24
lines changed

15 files changed

+54
-24
lines changed

site/content/3.11/develop/drivers/java/_index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ automation systems Maven and Gradle.
3838
### Maven
3939

4040
To add the driver to your project with Maven, add the following code to your
41-
`pom.xml` (substitute `7.x.x` with the latest driver version):
41+
`pom.xml`:
4242

4343
```xml
4444
<dependencies>
@@ -50,6 +50,8 @@ To add the driver to your project with Maven, add the following code to your
5050
</dependencies>
5151
```
5252

53+
Substitute `7.x.x` with the latest driver version.
54+
5355
### Gradle
5456

5557
To add the driver to your project with Gradle, add the following code to your

site/content/3.11/develop/drivers/java/reference-version-7/changes-in-version-7.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ description: >-
1818
<dependencies>
1919
```
2020

21+
Substitute `7.x.x` with the latest available driver version.
22+
2123
## Gradle Setup
2224

2325
```groovy
@@ -158,14 +160,16 @@ there are in your project other libraries depending on different versions of Jac
158160
<dependency>
159161
<groupId>com.fasterxml.jackson</groupId>
160162
<artifactId>jackson-bom</artifactId>
161-
<version>...</version>
163+
<version>x.y.z</version>
162164
<scope>import</scope>
163165
<type>pom</type>
164166
</dependency>
165167
</dependencies>
166168
</dependencyManagement>
167169
```
168170

171+
Substitute `x.y.z` with the latest stable version.
172+
169173
The module `http-protocol` has transitive dependency on `io.vertx:vertx-web-client`,
170174
which in turn depends on packages from `io.netty`.
171175

site/content/3.11/develop/integrations/arangodb-datasource-for-apache-spark.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ To import ArangoDB Datasource for Apache Spark in a Maven project:
5959
</dependencies>
6060
```
6161

62+
Substitute `x.y.z` with the latest available version that is compatible.
63+
6264
To use in an external Spark cluster, submit your application with the following parameter:
6365

6466
```sh

site/content/3.11/develop/integrations/spring-boot-arangodb.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Create a Maven `pom.xml`:
5252
<parent>
5353
<groupId>org.springframework.boot</groupId>
5454
<artifactId>spring-boot-starter-parent</artifactId>
55-
<version>3.1.3</version>
55+
<version>x.y.z</version>
5656
<relativePath/> <!-- lookup parent from repository -->
5757
</parent>
5858

@@ -75,7 +75,7 @@ Create a Maven `pom.xml`:
7575
<dependency>
7676
<groupId>com.arangodb</groupId>
7777
<artifactId>arangodb-spring-boot-starter</artifactId>
78-
<version>3.1-0</version>
78+
<version>x.y.z</version>
7979
</dependency>
8080
</dependencies>
8181

@@ -91,8 +91,9 @@ Create a Maven `pom.xml`:
9191
</project>
9292
```
9393

94-
Substitute the versions with the latest available versions that are compatible.
94+
Substitute `x.y.z` with the latest available versions that are compatible.
9595
See the [Supported versions](#supported-versions) for details.
96+
You may also adjust the Java version.
9697

9798
### Monitor the server health
9899

site/content/3.11/develop/integrations/spring-data-arangodb/_index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Create a Maven `pom.xml`:
6666
<relativePath/>
6767
<groupId>org.springframework.boot</groupId>
6868
<artifactId>spring-boot-starter-parent</artifactId>
69-
<version>3.3.4</version>
69+
<version>x.y.z</version>
7070
</parent>
7171

7272
<groupId>com.arangodb</groupId>
@@ -89,15 +89,16 @@ Create a Maven `pom.xml`:
8989
<dependency>
9090
<groupId>com.arangodb</groupId>
9191
<artifactId>arangodb-spring-data</artifactId>
92-
<version>4.4.2</version>
92+
<version>x.y.z</version>
9393
</dependency>
9494
</dependencies>
9595

9696
</project>
9797
```
9898

99-
Substitute the versions with the latest available versions that are compatible.
99+
Substitute `x.y.z` with the latest available versions that are compatible.
100100
See the [Supported versions](#supported-versions) for details.
101+
You may also adjust the Java version.
101102

102103
### Entity classes
103104

site/content/3.12/develop/drivers/java/_index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ automation systems Maven and Gradle.
3838
### Maven
3939

4040
To add the driver to your project with Maven, add the following code to your
41-
`pom.xml` (substitute `7.x.x` with the latest driver version):
41+
`pom.xml`:
4242

4343
```xml
4444
<dependencies>
@@ -50,6 +50,8 @@ To add the driver to your project with Maven, add the following code to your
5050
</dependencies>
5151
```
5252

53+
Substitute `7.x.x` with the latest driver version.
54+
5355
### Gradle
5456

5557
To add the driver to your project with Gradle, add the following code to your

site/content/3.12/develop/drivers/java/reference-version-7/changes-in-version-7.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ description: >-
1818
<dependencies>
1919
```
2020

21+
Substitute `7.x.x` with the latest available driver version.
22+
2123
## Gradle Setup
2224

2325
```groovy
@@ -148,14 +150,16 @@ there are in your project other libraries depending on different versions of Jac
148150
<dependency>
149151
<groupId>com.fasterxml.jackson</groupId>
150152
<artifactId>jackson-bom</artifactId>
151-
<version>...</version>
153+
<version>x.y.z</version>
152154
<scope>import</scope>
153155
<type>pom</type>
154156
</dependency>
155157
</dependencies>
156158
</dependencyManagement>
157159
```
158160

161+
Substitute `x.y.z` with the latest stable version.
162+
159163
The module `http-protocol` has transitive dependency on `io.vertx:vertx-web-client`,
160164
which in turn depends on packages from `io.netty`.
161165

site/content/3.12/develop/integrations/arangodb-datasource-for-apache-spark.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ To import ArangoDB Datasource for Apache Spark in a Maven project:
5959
</dependencies>
6060
```
6161

62+
Substitute `x.y.z` with the latest available version that is compatible.
63+
6264
To use in an external Spark cluster, submit your application with the following parameter:
6365

6466
```sh

site/content/3.12/develop/integrations/spring-boot-arangodb.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Create a Maven `pom.xml`:
5252
<parent>
5353
<groupId>org.springframework.boot</groupId>
5454
<artifactId>spring-boot-starter-parent</artifactId>
55-
<version>3.1.3</version>
55+
<version>x.y.z</version>
5656
<relativePath/> <!-- lookup parent from repository -->
5757
</parent>
5858

@@ -75,7 +75,7 @@ Create a Maven `pom.xml`:
7575
<dependency>
7676
<groupId>com.arangodb</groupId>
7777
<artifactId>arangodb-spring-boot-starter</artifactId>
78-
<version>3.1-0</version>
78+
<version>x.y.z</version>
7979
</dependency>
8080
</dependencies>
8181

@@ -91,8 +91,9 @@ Create a Maven `pom.xml`:
9191
</project>
9292
```
9393

94-
Substitute the versions with the latest available versions that are compatible.
94+
Substitute `x.y.z` with the latest available versions that are compatible.
9595
See the [Supported versions](#supported-versions) for details.
96+
You may also adjust the Java version.
9697

9798
### Monitor the server health
9899

site/content/3.12/develop/integrations/spring-data-arangodb/_index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Create a Maven `pom.xml`:
5353
<relativePath/>
5454
<groupId>org.springframework.boot</groupId>
5555
<artifactId>spring-boot-starter-parent</artifactId>
56-
<version>3.3.4</version>
56+
<version>x.y.z</version>
5757
</parent>
5858

5959
<groupId>com.arangodb</groupId>
@@ -76,15 +76,16 @@ Create a Maven `pom.xml`:
7676
<dependency>
7777
<groupId>com.arangodb</groupId>
7878
<artifactId>arangodb-spring-data</artifactId>
79-
<version>4.4.2</version>
79+
<version>x.y.z</version>
8080
</dependency>
8181
</dependencies>
8282

8383
</project>
8484
```
8585

86-
Substitute the versions with the latest available versions that are compatible.
86+
Substitute `x.y.z` with the latest available versions that are compatible.
8787
See the [Supported versions](#supported-versions) for details.
88+
You may also adjust the Java version.
8889

8990
### Entity classes
9091

0 commit comments

Comments
 (0)