Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
added snapshot version usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Cihat Keser committed Jul 2, 2015
1 parent 8073fe5 commit 372017a
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ ElasticSearch already has a Java API which is also used by ElasticSearch interna
Installation
------------

### Stable

Jest maven repository is hosted on [Sonatype](http://www.sonatype.org) which is then synced to [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.searchbox%22) with a slight delay.

To get the latest version without waiting for Maven Central sync add Sonatype repository definition to your root pom.xml
To get the latest *stable* version without waiting for Maven Central sync add Sonatype repository definition to your root pom.xml

``` xml
<repositories>
Expand Down Expand Up @@ -41,6 +43,40 @@ Add Jest as a dependency to your project.
</dependency>
```

### Snapshot

Jest also publishes a snapshot version on [Sonatype Snapshot Repository](https://oss.sonatype.org/content/repositories/snapshots) after every push resulting in a successfull build.


To get the latest *snapshot* version add Sonatype Snapshot Repository definition to your root pom.xml

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

```

Add Jest snapshot as a dependency to your project.


``` xml
<dependency>
<groupId>io.searchbox</groupId>
<artifactId>jest</artifactId>
<version>0.1.7-SNAPSHOT</version>
</dependency>
```

>Ensure to check [the Changelog](https://github.com/searchbox-io/Jest/wiki/Changelog).
Usage
Expand Down

0 comments on commit 372017a

Please sign in to comment.