Create Java project with Maven archetype jersey-example-java8-webapp

Jersey (Java8) WebApp Example Archetype.

Create a Java Project by archetype jersey-example-java8-webapp with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DgroupId="My-groupId"   -Dpackage="My-package"   -Dversion="My-version"   -DprojectAuthor="My-projectAuthor"   -DprojectName="My-projectName"   -DprojectDescription="My-projectDescription"   -DarchetypeGroupId="org.glassfish.jersey.archetypes"   -DarchetypeArtifactId="jersey-example-java8-webapp"   -DarchetypeVersion="2.26-b03"   -DinteractiveMode=false 

Required parameters for generate java project:

groupId
validationRegex: none
package
validationRegex: none
version
validationRegex: none
projectAuthor
validationRegex: none
projectName
validationRegex: none
projectDescription
validationRegex: none

Details about maven archetype jersey-example-java8-webapp

GroupId

GroupId

org.glassfish.jersey.archetypes
ArtifactId

ArtifactId

jersey-example-java8-webapp
Version

Version

2.26-b03
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.glassfish.jersey.archetypes -DarchetypeArtifactId=jersey-example-java8-webapp -DarchetypeVersion=2.26-b03 -DinteractiveMode=false