Added Spring Boot plugin to make the REST sample project executable as standalone JAR.

This commit is contained in:
Oliver Gierke
2014-05-14 00:07:48 +02:00
parent 410f408f47
commit b67ec8bd6e

View File

@@ -11,7 +11,7 @@
<artifactId>spring-data-rest-examples</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version>
</parent>
<properties>
<mongodb.version>2.12.1</mongodb.version>
<spring-data-mongodb.version>1.5.0.RC1</spring-data-mongodb.version>
@@ -30,7 +30,7 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.batch</groupId>
<artifactId>spring-batch-core</artifactId>
@@ -38,4 +38,16 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>example.stores.StoreApp</mainClass>
</configuration>
</plugin>
</plugins>
</build>
</project>