The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

pcroser (21) [Avatar] Offline
#1
I did an svn checkout this morning and the directions for GreetMeBean example in chapter 2 pg37 . shown below:

"go to the chapter2/spring directory in the book's source and run this Maven command:
mvn compile exec:java -Dexec.mainClass=camelinaction.GreetMeBean"

would not work.

Got the familiar "May not be this projects pom message"

Reason pom referred to artifact id as
<artifactId>chapter2spring</artifactId>
<name>Camel in Action :: Chapter 2 :: Spring</name>

Removing the chapter2 prior to spring fixed it.

My apologies if this has already been fixed. Hope this is helpful.
davsclaus (413) [Avatar] Offline
#2
Re: Error in pom file in Chapter 2 Bean Example
Thanks for reporting. I am sure Jonathan takes a look at this.
janstey (72) [Avatar] Offline
#3
Re: Error in pom file in Chapter 2 Bean Example
Just tried this myself and and can reproduce with a clean ~/.m2 repo and fresh svn checkout. It occurs because we are using a SNAPSHOT version of Camel at the moment... it will be fixed when the book is released since we will update to use Camel 2.5.0.