Where are you running your mvn command from?
Hadrian
On 06/18/2012 05:25 PM, Jothi Sankarraj wrote:
Still no success. Tried all possible things. This looks strange to me. I
even deleted my entire repository folder and started the build again. Below
is the error.
[ERROR] Failed to execute goal on project camel-spring: Could not resolve
dependencies for project
org.apache.camel:camel-spring:bundle:2.10-SNAPSHOT: Could not find artifact
org.apache.camel:camel-core:jar:tests:2.10-SNAPSHOT in apache.snapshots (
http://repository.apache.org/snapshots/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn<goals> -rf :camel-spring
On Mon, Jun 18, 2012 at 2:52 PM, Henryk Konsek<hekon...@gmail.com> wrote:
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