O'Reilly logo
  • Brendan Hoey thinks this is interesting:

java -jar target/restsample-1.0-SNAPSHOT.jar

From

Cover of Microservices: Building Scalable Software

Note

Dont forget to add the build section to the pom.xml

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <version>1.5.2.RELEASE</version>
            <executions>
                <execution>
                    <goals>
                        <goal>repackage</goal>
                    </goals>
                </execution>
            </executions>
        </plugin&a...