Создать Java проект на основе Maven архетипа camel-archetype-web

Creates a new Camel web project that deploys the Camel routes as a WAR

Консольная команда для создания Java-проекта на основе архетипа camel-archetype-web:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dcamel-version="My-camel-version"   -Djetty9-version="My-jetty9-version"   -Djetty-plugin-version="My-jetty-plugin-version"   -Dmaven-compiler-plugin-version="My-maven-compiler-plugin-version"   -Dmaven-resources-plugin-version="My-maven-resources-plugin-version"   -Dmaven-jboss-as-maven-plugin-version="My-maven-jboss-as-maven-plugin-version"   -Dspring-version="My-spring-version"   -DarchetypeGroupId="org.apache.camel.archetypes"   -DarchetypeArtifactId="camel-archetype-web"   -DarchetypeVersion="2.22.0"   -DinteractiveMode=false 

Обязательные параметры для создания java проекта:

camel-version
validationRegex: нет
jetty9-version
validationRegex: нет
jetty-plugin-version
validationRegex: нет
maven-compiler-plugin-version
validationRegex: нет
maven-resources-plugin-version
validationRegex: нет
maven-jboss-as-maven-plugin-version
validationRegex: нет
spring-version
validationRegex: нет

Подробная информация об архетипе camel-archetype-web

Группа

Группа

org.apache.camel.archetypes
Идентификатор

Идентификатор

camel-archetype-web
Версия

Версия

2.22.0
Тип

Тип

maven-archetype

Как подключить последнюю версию

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