Create Java project with Maven archetype camel-archetype-component

Creates a new Camel component.

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dname="My-name"   -Dscheme="My-scheme"   -Dcamel-version="My-camel-version"   -Dlog4j-version="My-log4j-version"   -Dmaven-compiler-plugin-version="My-maven-compiler-plugin-version"   -Dmaven-resources-plugin-version="My-maven-resources-plugin-version"   -Dmaven-bundle-plugin-version="My-maven-bundle-plugin-version"   -Dslf4j-version="My-slf4j-version"   -DarchetypeGroupId="org.apache.camel.archetypes"   -DarchetypeArtifactId="camel-archetype-component"   -DarchetypeVersion="2.23.0"   -DinteractiveMode=false 

Required parameters for generate java project:

name
validationRegex: none
scheme
validationRegex: none
camel-version
validationRegex: none
log4j-version
validationRegex: none
maven-compiler-plugin-version
validationRegex: none
maven-resources-plugin-version
validationRegex: none
maven-bundle-plugin-version
validationRegex: none
slf4j-version
validationRegex: none

Details about maven archetype camel-archetype-component

GroupId

GroupId

org.apache.camel.archetypes
ArtifactId

ArtifactId

camel-archetype-component
Version

Version

2.23.0
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-component -DarchetypeVersion=2.23.0 -DinteractiveMode=false