2010年11月16日 星期二

Get your Camel user guide from here

http://camel.apache.org/manual.html

Camel Started by Guide (when got error)

When you install camel
1. cd ./components/camel-web
2. mvn jetty:run

Got error:
Missing:
----------
1) org.hamcrest:hamcrest-all:jar:1.2-dev1


SOLUTION:


1. download hamcrest-all-1.2-dev1.jar from http://www.mvnbrowser.com/artifact-details.html?groupId=org.hamcrest&artifactId=hamcrest-all&version=1.2-dev1&tab=FILES#tabs

2. $mvn install:install-file -DgroupId=org.hamcrest -DartifactId=hamcrest-all -Dversion=1.2-dev1 -Dpackaging=jar -Dfile=/tmp3/hamcrest-all-1.2-dev1.jar

3.

Camel Started by Guide (when got error)

mvn install:install-file -DgroupId=org.hamcrest -DartifactId=hamcrest-all -Dversion=1.2-dev1 -Dpackaging=jar -Dfile=/tmp3/hamcrest-all-1.2-dev1.jar