Skip to content
Horacio Hoyos edited this page Nov 19, 2020 · 31 revisions

ArangoDB-Logo

arangodb-tinkerpop-provider is an implementation of the Apache TinkerPop OLTP Provider API for ArangoDB.

Maven

To add the provider to your project with maven you need to add the following dependency (shown is the latest stable version - you can replace the version with the one you need)

<dependencies>
  <dependency>
    <groupId>org.arangodb</groupId>
    <artifactId>arangodb-tinkerpop-provider</artifactId>
    <version>2.0.3</version>
  </dependency>
    ....
</dependencies>

The same coordinates can be used with Gradle and any other build system that uses maven repositories. The current version of the provider works with ArangoDB 3 and the ArangoDB Java driver 5.0.0.

Adding Sonatype repository (optional - needed for snapshot versions)

To be able to use the snapshot versions you need to add the sonatype repository to your pom:

<repositories>
  <repository>
    <id>oss-sonatype</id>
    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    <releases><enabled>false</enabled></releases>
    <snapshots><enabled>true</enabled></snapshots>
  </repository>
  ....
</repositories>

For other use cases it might be better to add it to your general maven settings.

Prerequisites

Before using the provider via Java or the Gremlin Console your ArangoDB instance must have been started. Also, make sure you create the appropriate databases and users you will use for the connection. Your machine must have network access to the machine in which ArangoDB is running.

More