Create Java project with Maven archetype war-cxf-cdi-servlet-archetype

Creates a new CXF JAX-RS using CDI deployed as WAR

Create a Java Project by archetype war-cxf-cdi-servlet-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dcxf-version="My-cxf-version"   -Dcxf-plugin-version="My-cxf-plugin-version"   -Dweld-version="My-weld-version"   -DarchetypeGroupId="io.fabric8.archetypes"   -DarchetypeArtifactId="war-cxf-cdi-servlet-archetype"   -DarchetypeVersion="2.2.126"   -DinteractiveMode=false 

Required parameters for generate java project:

cxf-version
validationRegex: none
cxf-plugin-version
validationRegex: none
weld-version
validationRegex: none

Details about maven archetype war-cxf-cdi-servlet-archetype

GroupId

GroupId

io.fabric8.archetypes
ArtifactId

ArtifactId

war-cxf-cdi-servlet-archetype
Version

Version

2.2.126
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=io.fabric8.archetypes -DarchetypeArtifactId=war-cxf-cdi-servlet-archetype -DarchetypeVersion=2.2.126 -DinteractiveMode=false