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.*;