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

Archetype for creating a Java application with commercetools

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DcommercetoolsProjectKey="My-commercetoolsProjectKey"   -DcommercetoolsClientId="My-commercetoolsClientId"   -DcommercetoolsClientSecret="My-commercetoolsClientSecret"   -DarchetypeGroupId="com.commercetools.maven-archetypes"   -DarchetypeArtifactId="commercetools-hello-java-archetype"   -DarchetypeVersion="0.1.1"   -DinteractiveMode=false 

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

commercetoolsProjectKey
validationRegex: нет
commercetoolsClientId
validationRegex: нет
commercetoolsClientSecret
validationRegex: нет

Подробная информация об архетипе commercetools-hello-java-archetype

Группа

Группа

com.commercetools.maven-archetypes
Идентификатор

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

commercetools-hello-java-archetype
Версия

Версия

0.1.1
Тип

Тип

maven-archetype

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

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.commercetools.maven-archetypes -DarchetypeArtifactId=commercetools-hello-java-archetype -DarchetypeVersion=0.1.1 -DinteractiveMode=false