Hi Rob,
Which version of Maven are you using? The latest Camel trunk code
require the Maven 2.0.8.
Can you run the mvn install without any error?
I just tested example both mvn install and mvn camel:run , they are OK
for me.
Willem
Rob Moore wrote:
Thanks, Willem. I prefered the latter solution which I tried. I got further
along but saw the following
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.
[INFO]
------------------------------------------------------------------------
I decided to ignore this error and press on running one of the examples but
saw this:
Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/camel/camel-parent/1.3-SNAPSHOT/camel-parent-1.3-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: null:examples:pom:null
Reason: Cannot find parent: org.apache.camel:camel-parent for project:
null:examples:pom:null for project null:examples:pom:null
Some other output followed which I can provide but thought this would be
sufficient.
willem.jiang wrote:
Hi Rob,
Please add the below repository to your maven setting.xml.
apache.snapshots
Apache Development Snapshot Repository
http://people.apache.org/repo/m2-snapshot-repository
false
true
Or you build camel from the top level with "mvn install", then you could
run the example with "mvn camel:run" :)