mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Use org.springframework.boot instead of ${project.groupId} groupId in order to make it easier to use spring-boot-samples modules as a starting point for new projects. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
pom.xml | ||
README.md |
Spring Boot Simple Sample
You can build this sample using Maven (>3) or Gradle (1.6).
With Maven:
$ mvn package
$ java -jar target/*.jar
The app prints a Hello message on the console.
With gradle:
$ gradle build
$ java -jar build/libs/*.jar