From af93a32bde5930c62206637409c8961234796231 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 8 Jan 2015 18:06:38 +0000 Subject: [PATCH] Reflect snapshots being available from https://repo.spring.io/snapshot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the README and the samples’ build.gradle and pom.xml files to reflect snapshots now being available from https://repo.spring.io/snapshot. Closes #5 --- README.md | 5 +++-- rest-notes-spring-data-rest/build.gradle | 1 + rest-notes-spring-data-rest/pom.xml | 11 +++++++++++ rest-notes-spring-hateoas/build.gradle | 1 + rest-notes-spring-hateoas/pom.xml | 11 +++++++++++ 5 files changed, 27 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 328378e9..02b43d1d 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,14 @@ For a broader introduction see the [Documenting RESTful APIs][9] presentation. ## Quickstart -The project requires Java 7 or later. It's built with Gradle: +The project requires Java 7 or later. Snapshots are published to +`https://repo.spring.io/snapshot`. Alternatively, it can be built locally using Gradle: ``` $ ./gradlew build install ``` -Once the main project's built, take a look at one of the two sample projects. Both +The quickest way to get started is to look at one of the two sample projects. Both projects implement a RESTful service for creating tagged notes and illustrate the use of Maven or Gradle. The two projects have different implementations: `rest-notes-spring-hateoas` is implemented using Spring MVC and Spring Hateoas where as diff --git a/rest-notes-spring-data-rest/build.gradle b/rest-notes-spring-data-rest/build.gradle index 386a81d2..49da8bd0 100644 --- a/rest-notes-spring-data-rest/build.gradle +++ b/rest-notes-spring-data-rest/build.gradle @@ -17,6 +17,7 @@ apply plugin: 'eclipse' repositories { mavenLocal() + maven { url 'https://repo.spring.io/snapshot' } mavenCentral() } diff --git a/rest-notes-spring-data-rest/pom.xml b/rest-notes-spring-data-rest/pom.xml index 10a33975..ad2f3c2a 100644 --- a/rest-notes-spring-data-rest/pom.xml +++ b/rest-notes-spring-data-rest/pom.xml @@ -96,4 +96,15 @@ + + + spring-snapshots + Spring snapshots + https://repo.spring.io/snapshot + + true + + + + \ No newline at end of file diff --git a/rest-notes-spring-hateoas/build.gradle b/rest-notes-spring-hateoas/build.gradle index 30b85f68..0f21290b 100644 --- a/rest-notes-spring-hateoas/build.gradle +++ b/rest-notes-spring-hateoas/build.gradle @@ -17,6 +17,7 @@ apply plugin: 'eclipse' repositories { mavenLocal() + maven { url 'https://repo.spring.io/snapshot' } mavenCentral() } diff --git a/rest-notes-spring-hateoas/pom.xml b/rest-notes-spring-hateoas/pom.xml index 3ed34f89..881626d5 100644 --- a/rest-notes-spring-hateoas/pom.xml +++ b/rest-notes-spring-hateoas/pom.xml @@ -112,4 +112,15 @@ + + + spring-snapshots + Spring snapshots + https://repo.spring.io/snapshot + + true + + + + \ No newline at end of file