Skip to content

arangodb/java-velocypack-module-joda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArangoDB-Logo

[DEPRECATED]: velocypack-module-joda has been deprecated.

Please consider using jackson-dataformat-velocypack in combination with jackson-datatype-joda instead. For usage in the ArangoDB Java driver, refer to the official serialization documentation.


ArangoDB VelocyPack Java Module Joda-Time

Maven Central

Joda-Time module for Java VelocyPack.

Added support for:

  • org.joda.time.DateTime;
  • org.joda.time.Instant;
  • org.joda.time.LocalDate;
  • org.joda.time.LocalDateTime;

Maven

To add the dependency to your project with maven, add the following code to your pom.xml:

<dependencies>
    <dependency>
        <groupId>com.arangodb</groupId>
        <artifactId>velocypack-module-joda</artifactId>
        <version>1.0.0</version>
    </dependency>
</dependencies>

If you want to test with a snapshot version (e.g. 1.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>

Compile

mvn clean install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true -B

Usage / registering module

VPack vpack = new VPack.Builder().registerModule(new VPackJodaModule()).build();

Learn more