Create Java project with Maven archetype shogun2-webapp-archetype


Create a Java Project by archetype shogun2-webapp-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dshogun2-parent-package="My-shogun2-parent-package"   -Dwebapp-name="My-webapp-name"   -DarchetypeGroupId="de.terrestris"   -DarchetypeArtifactId="shogun2-webapp-archetype"   -DarchetypeVersion="2.0.0"   -DinteractiveMode=false 

Required parameters for generate java project:

shogun2-parent-package
validationRegex: none
webapp-name
validationRegex: none

Details about maven archetype shogun2-webapp-archetype

GroupId

GroupId

de.terrestris
ArtifactId

ArtifactId

shogun2-webapp-archetype
Version

Version

2.0.0
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=de.terrestris -DarchetypeArtifactId=shogun2-webapp-archetype -DarchetypeVersion=2.0.0 -DinteractiveMode=false