|
|
@ -56,16 +56,18 @@ 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>
|
|
|
|
<dependency>
|
|
|
|
<dependencies>
|
|
|
|
<groupId>org.springframework.bootstrap</groupId>
|
|
|
|
<dependency>
|
|
|
|
<artifactId>spring-bootstrap-web-application</artifactId>
|
|
|
|
<groupId>org.springframework.bootstrap</groupId>
|
|
|
|
<version>${spring.bootstrap.version}</version>
|
|
|
|
<artifactId>spring-bootstrap-web-application</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<version>${spring.bootstrap.version}</version>
|
|
|
|
<dependency>
|
|
|
|
</dependency>
|
|
|
|
<groupId>org.springframework.bootstrap</groupId>
|
|
|
|
<dependency>
|
|
|
|
<artifactId>spring-bootstrap-service</artifactId>
|
|
|
|
<groupId>org.springframework.bootstrap</groupId>
|
|
|
|
<version>${spring.bootstrap.version}</version>
|
|
|
|
<artifactId>spring-bootstrap-service</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<version>${spring.bootstrap.version}</version>
|
|
|
|
|
|
|
|
</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
|
|
|
|