Create Java project with Maven archetype spring-archetype-component

OpenTable Spring Component archetype

Create a Java Project by archetype spring-archetype-component 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-component"   -DarchetypeVersion="0.0.7"   -DinteractiveMode=false 

Required parameters for generate java project:

otj-parent-version
validationRegex: none

Details about maven archetype spring-archetype-component

GroupId

GroupId

com.opentable
ArtifactId

ArtifactId

spring-archetype-component
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-component -DarchetypeVersion=0.0.7 -DinteractiveMode=false