|
|
|
@ -56,6 +56,7 @@ If you are using Maven create a really simple `pom.xml` with 2 dependencies: |
|
|
|
<spring.bootstrap.version>0.0.1-SNAPSHOT</spring.bootstrap.version> |
|
|
|
<spring.bootstrap.version>0.0.1-SNAPSHOT</spring.bootstrap.version> |
|
|
|
<start-class>org.springframework.bootstrap.SpringApplication</start-class> |
|
|
|
<start-class>org.springframework.bootstrap.SpringApplication</start-class> |
|
|
|
</properties> |
|
|
|
</properties> |
|
|
|
|
|
|
|
<dependencies> |
|
|
|
<dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>org.springframework.bootstrap</groupId> |
|
|
|
<groupId>org.springframework.bootstrap</groupId> |
|
|
|
<artifactId>spring-bootstrap-web-application</artifactId> |
|
|
|
<artifactId>spring-bootstrap-web-application</artifactId> |
|
|
|
@ -66,6 +67,7 @@ If you are using Maven create a really simple `pom.xml` with 2 dependencies: |
|
|
|
<artifactId>spring-bootstrap-service</artifactId> |
|
|
|
<artifactId>spring-bootstrap-service</artifactId> |
|
|
|
<version>${spring.bootstrap.version}</version> |
|
|
|
<version>${spring.bootstrap.version}</version> |
|
|
|
</dependency> |
|
|
|
</dependency> |
|
|
|
|
|
|
|
</dependencies> |
|
|
|
<build> |
|
|
|
<build> |
|
|
|
<plugins> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
<plugin> |
|
|
|
@ -77,7 +79,7 @@ If you are using Maven create a really simple `pom.xml` with 2 dependencies: |
|
|
|
</project> |
|
|
|
</project> |
|
|
|
|
|
|
|
|
|
|
|
If you like Gradle, that's fine, and you will know what to do with |
|
|
|
If you like Gradle, that's fine, and you will know what to do with |
|
|
|
those co-ordinates. The first one adds Spring Bootstrap auto |
|
|
|
those dependencies. The first dependency adds Spring Bootstrap auto |
|
|
|
configuration and the Jetty container to your application, and the |
|
|
|
configuration and the Jetty container to your application, and the |
|
|
|
second one adds some more opinionated stuff like the default |
|
|
|
second one adds some more opinionated stuff like the default |
|
|
|
management endpoints. If you prefer Tomcat FIXME: use a different |
|
|
|
management endpoints. If you prefer Tomcat FIXME: use a different |
|
|
|
|