From a2fe8a0e8911ccb0de90467735fc346cb3b50d60 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Thu, 8 Aug 2013 16:06:30 +0100 Subject: [PATCH] Actuator README accuracy --- spring-boot-actuator/README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/spring-boot-actuator/README.md b/spring-boot-actuator/README.md index 9491776542..ef9713ef34 100644 --- a/spring-boot-actuator/README.md +++ b/spring-boot-actuator/README.md @@ -105,16 +105,14 @@ endpoint. An endpoint can be implemented as a Spring MVC } -You can launch that straight away using the Spring Boot CLI -(without the `@EnableAutoConfiguration` and even without the import -statements that your IDE will add if you are using one), or you can -use the main method to launch it from your project jar. Just add a -`start-class` in the properties section of the `pom` above pointing to -the fully qualified name of your `SampleController`, e.g. - - - com.mycompany.sample.SampleController - +You can use the main method to launch it from your project jar. You +can also launch that straight using the Spring Boot CLI (without +the `@EnableAutoConfiguration` and even without the import statements +that your IDE will add if you are using one), if you just add + +``` +@Grab("org.springframework.boot:spring-boot-starter-actuator:{{project.version}}") +``` and package and run: