使用命令:
mvn archetype:generate -DarchetypeGroupId=org.apache.camel.archetypes -DarchetypeArtifactId=camel-archetype-war -DarchetypeVersion=2.0-SNAPSHOT -DarchetypeRepository=https://repository.apache.org/content/groups/snapshots-group
然后输入groupId,artifactId等信息,创建camel-war工程成功,该工程将自动引入相关的依赖包和Camel Web Console组件。
使用mvn jetty:run-war可以运行该工程。