Create Java project with Maven archetype camel-archetype-spring-boot

Creates a new Camel project using Spring Boot.

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dcamel-version="My-camel-version"   -Dspring-boot-version="My-spring-boot-version"   -Dlog4j-version="My-log4j-version"   -Dmaven-war-plugin-version="My-maven-war-plugin-version"   -Dmaven-compiler-plugin-version="My-maven-compiler-plugin-version"   -Dmaven-resources-plugin-version="My-maven-resources-plugin-version"   -Dslf4j-version="My-slf4j-version"   -DarchetypeGroupId="org.apache.camel.archetypes"   -DarchetypeArtifactId="camel-archetype-spring-boot"   -DarchetypeVersion="2.22.2"   -DinteractiveMode=false 

Required parameters for generate java project:

camel-version
validationRegex: none
spring-boot-version
validationRegex: none
log4j-version
validationRegex: none
maven-war-plugin-version
validationRegex: none
maven-compiler-plugin-version
validationRegex: none
maven-resources-plugin-version
validationRegex: none
slf4j-version
validationRegex: none

Details about maven archetype camel-archetype-spring-boot

GroupId

GroupId

org.apache.camel.archetypes
ArtifactId

ArtifactId

camel-archetype-spring-boot
Version

Version

2.22.2
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.apache.camel.archetypes -DarchetypeArtifactId=camel-archetype-spring-boot -DarchetypeVersion=2.22.2 -DinteractiveMode=false