Создать Java проект на основе Maven архетипа spring-boot-archetype

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

Консольная команда для создания Java-проекта на основе архетипа spring-boot-archetype:

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 

Модули в готовом maven проекте

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

Подробная информация об архетипе spring-boot-archetype

Группа

Группа

com.github.netyjq
Идентификатор

Идентификатор

spring-boot-archetype
Версия

Версия

0.0.1.release
Тип

Тип

maven-archetype

Как подключить последнюю версию

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