Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.45 KB

README.md

File metadata and controls

51 lines (41 loc) · 1.45 KB

RavenDB Java Client

Stable releases

Simply put ravendb dependency to your pom:

<dependency>
  <groupId>net.ravendb</groupId>
  <artifactId>ravendb-client</artifactId>
  <version>3.2.0</version>
</dependency>

Unstable releases

RavenDB Client Unstable is available as snapshot in daily-builds S3 maven repository.

Note: Embedding repositories in pom is not good practise, however allows quick start. Please consider moving repositories into ~/.m2/settings.xml. More information can be found here: http://maven.apache.org/guides/mini/guide-multiple-repositories.html

Sample pom:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.example</groupId>
  <artifactId>ravendb-example</artifactId>
  <version>0.0.1-SNAPSHOT</version>

  <dependencies>
    <dependency>
      <groupId>net.ravendb</groupId>
      <artifactId>ravendb-client</artifactId>
      <version>3.2.0-SNAPSHOT</version>
    </dependency>
  </dependencies>

  <repositories>
    <repository>
        <id>snapshots-repo</id>
        <url>http://ravendb-maven.s3.amazonaws.com/snapshots/</url>
        <releases>
           <enabled>false</enabled>
        </releases>
        <snapshots>
          <enabled>true</enabled>
        </snapshots>
     </repository>
  </repositories>
</project>