arangodb-java-driver | ArangoDB | network protocol | Java version |
---|---|---|---|
4.1.x | 3.1.x | VelocyStream | 1.6+ |
4.0.0 | 3.1.0-RC1 to 3.1.0-RC3 | VelocyStream | 1.6+ |
3.1.x | 3.1.x | HTTP | 1.6+ |
3.0.x | 3.0.x | HTTP | 1.6+ |
2.7.4 | 2.7.x and 2.8.x | HTTP | 1.6+ |
To add the driver to your project with maven, add the following code to your pom.xml (please use a driver with a version number compatible to your ArangoDB server's version):
ArangoDB 3.1.X
<dependencies>
<dependency>
<groupId>com.arangodb</groupId>
<artifactId>arangodb-java-driver</artifactId>
<version>4.1.0</version>
</dependency>
....
</dependencies>
If you want to test with a snapshot version (e.g. 4.0.0-SNAPSHOT), add the staging repository of oss.sonatype.org to your pom.xml:
<repositories>
<repository>
<id>arangodb-snapshots</id>
<url>https://oss.sonatype.org/content/groups/staging</url>
</repository>
</repositories>
mvn clean install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true -B