Create Java project with Maven archetype spring-archetype-service

OpenTable Spring Service archetype

Create a Java Project by archetype spring-archetype-service with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dotj-parent-version="My-otj-parent-version"   -DarchetypeGroupId="com.opentable"   -DarchetypeArtifactId="spring-archetype-service"   -DarchetypeVersion="0.0.7"   -DinteractiveMode=false 

Required parameters for generate java project:

otj-parent-version
validationRegex: none

Details about maven archetype spring-archetype-service

GroupId

GroupId

com.opentable
ArtifactId

ArtifactId

spring-archetype-service
Version

Version

0.0.7
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.opentable -DarchetypeArtifactId=spring-archetype-service -DarchetypeVersion=0.0.7 -DinteractiveMode=false