From 1b9ce20dfe2fc10e6db441f413b2a6b9c16b4f62 Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Tue, 13 Dec 2011 14:44:38 +0200 Subject: [PATCH] + update repo info --- README.md | 48 +++++++++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 4e23164ed..1e4f71b1d 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,20 @@ For examples on using the Spring Data Key Value, see the dedicated project, also ${version} - + spring-maven-snapshot true Springframework Maven SNAPSHOT Repository http://maven.springframework.org/snapshot + + + + spring-maven-milestone + Springframework Maven Milestone Repository + http://maven.springframework.org/milestone + ~~~~~ * Gradle: @@ -38,46 +45,49 @@ For examples on using the Spring Data Key Value, see the dedicated project, also ~~~~~ groovy repositories { mavenRepo name: "spring-snapshot", urls: "http://maven.springframework.org/snapshot" + mavenRepo name: "spring-milestone", urls: "http://maven.springframework.org/milestone" } +// used for nightly builds dependencies { compile "org.springframework.data:spring-data-redis:${version}" } ~~~~~ -The latest `version` is _1.0.0.RC1_ +The latest milestone is _1.0.0.RC1_ +The latest nightly is _1.0.0.BUILD-SNAPSHOT_ # Usage (for the impatient) * Configure the Redis connector to use (here [jedis](https://github.com/xetorthio/jedis)): ~~~~~ xml - - - - - - + + + + + + ~~~~~ * Use `RedisTemplate` to interact with the Redis store: ~~~~~ java - String random = template.randomKey(); - template.set(random, new Person("John", "Smith")); +String random = template.randomKey(); +template.set(random, new Person("John", "Smith")); ~~~~~ * Use Redis 'views' to execute specific operations based on the underlying Redis type: ~~~~~ java - ListOperations listOps = template.listOps(); - listOps.rightPush(random, new Person("Jane", "Smith")); - List peopleOnSecondFloor = listOps.range("users:floor:2", 0, -1); +ListOperations listOps = template.listOps(); +listOps.rightPush(random, new Person("Jane", "Smith")); +List peopleOnSecondFloor = listOps.range("users:floor:2", 0, -1); ~~~~~ # Building @@ -94,7 +104,7 @@ from the project root folder. This will compile the sources, run the tests and c Here are some ways for you to get involved in the community: * Get involved with the Spring community on the Spring Community Forums. Please help out on the [forum](http://forum.springsource.org/forumdisplay.php?f=80) by responding to questions and joining the debate. -* Create [JIRA](https://jira.springframework.org/browse/DATAKV) tickets for bugs and new features and comment and vote on the ones that you are interested in. +* Create [JIRA](https://jira.springframework.org/browse/DATAREDIS) tickets for bugs and new features and comment and vote on the ones that you are interested in. * Github is for social coding: if you want to write code, we encourage contributions through pull requests from [forks of this repository](http://help.github.com/forking/). If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing. * Watch for upcoming articles on Spring by [subscribing](http://www.springsource.org/node/feed) to springframework.org