Create Java project with Maven archetype spring-boot-archetype

help to quickly build efficient, code-clean and stable 'spring-boot' projects.

Create a Java Project by archetype spring-boot-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="com.github.netyjq"   -DarchetypeArtifactId="spring-boot-archetype"   -DarchetypeVersion="0.0.1.release"   -DinteractiveMode=false 

Generated Project modules

  • archetype-model
  • archetype-mapper
  • archetype-web
  • archetype-service
  • archetype-common

Details about maven archetype spring-boot-archetype

GroupId

GroupId

com.github.netyjq
ArtifactId

ArtifactId

spring-boot-archetype
Version

Version

0.0.1.release
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.github.netyjq -DarchetypeArtifactId=spring-boot-archetype -DarchetypeVersion=0.0.1.release -DinteractiveMode=false