Create Java project with Maven archetype maven-archetype-springboot

基于 Spring Boot 的 Maven 原型

Create a Java Project by archetype maven-archetype-springboot with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="com.github.drtrang"   -DarchetypeArtifactId="maven-archetype-springboot"   -DarchetypeVersion="1.0.0"   -DinteractiveMode=false 

Details about maven archetype maven-archetype-springboot

GroupId

GroupId

com.github.drtrang
ArtifactId

ArtifactId

maven-archetype-springboot
Version

Version

1.0.0
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.github.drtrang -DarchetypeArtifactId=maven-archetype-springboot -DarchetypeVersion=1.0.0 -DinteractiveMode=false