DATAKV-100 - Update Maven download instructions.

Updated invalid maven artifactId and added note on spring-snapshot repository for consuming those.

Original Pull Request: #6
This commit is contained in:
A.J. Brown
2015-05-06 10:26:12 -04:00
committed by Christoph Strobl
parent 07b3a1547c
commit aa3204e464

View File

@@ -16,11 +16,22 @@ Download the jar though Maven:
```xml
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-key-value</artifactId>
<artifactId>spring-data-keyvalue</artifactId>
<version>0.1.0.BUILD-SNAPSHOT</version>
</dependency>
```
For snapshot versions, make sure you include the spring snapshots repository:
```xml
<repositories>
<repository>
<id>spring-libs-snapshot</id>
<url>http://repo.spring.io/libs-snapshot</url>
</repository>
</repositories>
```
The `ConcurrentHashMap` based default configuration looks like this:
```java
@Configuration