-
-
Notifications
You must be signed in to change notification settings - Fork 16
Home
arangodb-tinkerpop-provider is an implementation of the Apache TinkerPop OLTP Provider API for ArangoDB.
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.
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.
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.