Create Java project with Maven archetype commercetools-hello-java-archetype

Archetype for creating a Java application with commercetools

Create a Java Project by archetype commercetools-hello-java-archetype with Command Line:

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.0"   -DinteractiveMode=false 

Required parameters for generate java project:

commercetoolsProjectKey
validationRegex: none
commercetoolsClientId
validationRegex: none
commercetoolsClientSecret
validationRegex: none

Details about maven archetype commercetools-hello-java-archetype

GroupId

GroupId

com.commercetools.maven-archetypes
ArtifactId

ArtifactId

commercetools-hello-java-archetype
Version

Version

0.1.0
Type

Type

maven-archetype

How to add to project

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