camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henryk Konsek <hekon...@gmail.com>
Subject Re: Camel Build Error
Date Mon, 18 Jun 2012 12:52:05 GMT
Hi Jothi,

> I'm just getting started with building Camel locally on my machine. When I
> hit the error below, I updated my sources and tried to build again. But the
> error seems to still be there. Is there anything that could be done?

In such cases I try to build the latest version of project without my
local Maven settings and repository:

# backup your Maven repo and settings
$ mv ~/.m2 ~/.m2_backup
# update project
$ cd ~/projects/camel
$ svn up
# clean and fast build
$ mvn clean install -Dfastinstall
# restore your old Maven stuff
$ rm -rf ~/.m2
$ mv ~/.m2_backup ~/.m2

In 90% of similar cases this will show you that the problem lays in
your local Maven settings or cached snapshots.

Laters.

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Mime
View raw message