Maven archetype for a Spring Boot app (Java 8 + Spring Boot 1.3.6.RELEASE).
Install the archetype to your local Maven repository with mvn clean install
.
Create projects from the archetype.
mvn archetype:generate -DarchetypeGroupId=com.kytkemo \
-DarchetypeArtifactId=spring-boot-app \
-DarchetypeVersion=1.0.8 \
-DgroupId=com.yourcompany \
-DartifactId=ProjectName \
-Dpackage=com.yourcompany.projectname
After creating a project from the archetype you can do the following tasks.
Run app with mvn spring-boot:run
.
Run tests with mvn test
.
Create a package with mvn package
.