Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 9 additions & 18 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This guide provides detailed instructions for adding the Aerospike Expression DS

## Library Installation

To use the Expression DSL, you need to add two dependencies to your project: `aerospike-expression-dsl` and the core `aerospike-client-jdk8`.
To use the Expression DSL, you need to add this dependency to your project: `aerospike-expression-dsl`. Library versions prior to 0.3.0 had an additional dependency `aerospike-client-jdk8`.

### Maven

Expand All @@ -22,15 +22,7 @@ Add the following dependencies to your `pom.xml` file:
<dependency>
<groupId>com.aerospike</groupId>
<artifactId>aerospike-expression-dsl</artifactId>
<version>0.1.0</version>
</dependency>

<!-- The core Aerospike Java Client -->
<!-- Ensure this version is compatible with your server version -->
<dependency>
<groupId>com.aerospike</groupId>
<artifactId>aerospike-client-jdk8</artifactId>
<version>8.1.1</version>
<version>0.3.0</version>
</dependency>
</dependencies>
```
Expand All @@ -42,11 +34,7 @@ Add the following to your `build.gradle` file's `dependencies` block:
```groovy
dependencies {
// The Expression DSL Library
implementation 'com.aerospike:aerospike-expression-dsl:0.1.0'

// The core Aerospike Java Client
// Ensure this version is compatible with your server version
implementation 'com.aerospike:aerospike-client-jdk8:8.1.1'
implementation 'com.aerospike:aerospike-expression-dsl:0.3.0'
}
```

Expand All @@ -68,10 +56,13 @@ This `parser` object is thread-safe and can be reused across your application to

It is important to ensure the versions of the DSL library, Java client, and Aerospike Server are compatible.

NOTE: Starting with version `0.3.0`, there is no dependency on Java client.

| `aerospike-expression-dsl` | `aerospike-client-jdk8` | Aerospike Server |
|:---------------------------| :--- |:-----------------|
| 0.1.0 | 8.0.0+ | 5.7+ |
| 0.2.0 | 8.0.0+ | 5.7+ |
|:---------------------------|:------------------------|:-----------------|
| 0.1.0 | 8.0.0+ | 5.7+ |
| 0.2.0 | 8.0.0+ | 5.7+ |
| 0.3.0 | - | 6.1+ |

## Building from Source (Optional)

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<description>Aerospike Expression DSL</description>
<url>https://github.com/aerospike/expression-dsl-java</url>
<packaging>jar</packaging>
<version>0.2.0</version>
<version>0.3.0</version>

<properties>
<maven.compiler.release>17</maven.compiler.release>
Expand Down
Loading