Создать Java проект на основе Maven архетипа modular-requestfactory

The GWT WebAppCreator's sample, modularized and using RequestFactory.

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dmodule="My-module"   -Dmodule-short-name="My-module-short-name"   -DarchetypeGroupId="net.ltgt.gwt.archetypes"   -DarchetypeArtifactId="modular-requestfactory"   -DarchetypeVersion="2018.5.2"   -DinteractiveMode=false 

Обязательные параметры для создания java проекта:

module
validationRegex: нет
module-short-name
validationRegex: нет

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

  • ${rootArtifactId}-client
  • ${rootArtifactId}-shared
  • ${rootArtifactId}-server

Подробная информация об архетипе modular-requestfactory

Группа

Группа

net.ltgt.gwt.archetypes
Идентификатор

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

modular-requestfactory
Версия

Версия

2018.5.2
Тип

Тип

maven-archetype

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

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=net.ltgt.gwt.archetypes -DarchetypeArtifactId=modular-requestfactory -DarchetypeVersion=2018.5.2 -DinteractiveMode=false