From 3662a8b347ee08e19d88d68c868c61b84f44d1fb Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 5 Aug 2013 22:27:06 -0500 Subject: [PATCH] Fix README Quick Start Java Example - Update pom.xml to be valid - Change to use milestone repository instead of snapshot - Add file name for SampleController.java - Correct EnableAutoConfiguration import - Add missing ; --- README.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index de405c397bc..d06be4aead8 100644 --- a/README.md +++ b/README.md @@ -79,8 +79,11 @@ an IDE you can. Create a `pom.xml` (or the equivalent with your favourite build `pom.xml` ```xml - - myproject + + + 4.0.0 + myproject 0.0.1-SNAPSHOT org.springframework.boot @@ -105,24 +108,24 @@ an IDE you can. Create a `pom.xml` (or the equivalent with your favourite build - spring-snapshots - http://repo.springsource.org/snapshot - true + spring-milestone + http://repo.springsource.org/milestone - spring-snapshots - http://repo.springsource.org/snapshot - true + spring-milestone + http://repo.springsource.org/milestone - + ``` Then just add a class in `src/main/java` with a `main()` method that calls `SpringApplication` and add `@EnableAutoConfiguration`, e.g: +`src/main/java/SampleController.java` + ```java import org.springframework.boot.*; import org.springframework.boot.autoconfigure.*;