$ mkdir sample && cd sample && curl https://start.spring.io/starter.zip -d dependencies=web,actuator -o sample.zip && unzip sample.zip && mvn package && java -jar target/demo-0.0.1-SNAPSHOT.jar
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 51130 100 51105 100 25 42718 20 0:00:01 0:00:01 --:--:-- 42729
Archive: sample.zip
~~(省略)~~
2018-12-17 00:11:53.897 INFO 55673 --- [ main] com.example.demo.DemoApplication : Started DemoApplication in 5.692 seconds (JVM running for 6.474)
- 動作確認
$ curl localhost:8080/actuator/health
{"status":"UP"}