Search code examples
sbtamazon-dynamodbtitanjanusgraph

How can I use DynamoDB Janusgraph Storage Backend using SBT?


I started a Scala project that uses JanusGraph as a library dependency:

"org.janusgraph" % "janusgraph-core" % "0.1.1",

The project its currently using the inmemory storage backend. However I want to use DynamoDB to persist my graph and eventually deploy the application on AWS.

I found the DynamoDB plugin for JanusGraph https://github.com/awslabs/dynamodb-janusgraph-storage-backend and followed the guide to run the Marvel Universe example. However when I try adding the library to my build.sbt file:

"com.amazonaws" % "dynamodb-janusgraph-storage-backend" % "1.1.0"

It says that the library was not found.


Solution

  • I released support for JanusGraph 0.1.1 to Central/Sonatype. You can use "com.amazonaws" % "dynamodb-janusgraph-storage-backend" % "1.1.0" to pull in the dependency.