---
title: "创建Camel-web工程"
author: "alloyer"
date: "2009-08-19T00:40:43Z"
tags: []
slug: "camel-web"
draft: false
lastmod: "2009-08-19T00:40:43Z"
id: 452413
url: "https://alloyer.iteye.com/blog/452413"
---

使用命令：

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可以运行该工程。