Create Java project with Maven archetype spring-boot-cxf-jaxrs-archetype

Spring Boot example running a CXF JAXRS Endpoint

Create a Java Project by archetype spring-boot-cxf-jaxrs-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dspring-boot-version="My-spring-boot-version"   -Dcxf-version="My-cxf-version"   -DarchetypeGroupId="io.fabric8.archetypes"   -DarchetypeArtifactId="spring-boot-cxf-jaxrs-archetype"   -DarchetypeVersion="2.2.192"   -DinteractiveMode=false 

Required parameters for generate java project:

spring-boot-version
validationRegex: none
cxf-version
validationRegex: none

Details about maven archetype spring-boot-cxf-jaxrs-archetype

GroupId

GroupId

io.fabric8.archetypes
ArtifactId

ArtifactId

spring-boot-cxf-jaxrs-archetype
Version

Version

2.2.192
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=io.fabric8.archetypes -DarchetypeArtifactId=spring-boot-cxf-jaxrs-archetype -DarchetypeVersion=2.2.192 -DinteractiveMode=false