You may need to run mvn -Pfastinstall and not -Dtest=false. While the Surefire JUnit test plugin will work, the Failsafe plugin will not support the -Dtest=false switch.
On Fri, Aug 17, 2012 at 11:55 AM, Joe San <codeintheo...@gmail.com> wrote: > I ran the build using -Dmaven.test.skip=true but unfortunately that did not > work but -Dtest=false worked. Not sure what the difference is? > > But anyways thanks for the support. I can now try running the unit tests to > get used to the source code. > > Regards, > Jothi > > On Thu, Aug 16, 2012 at 3:04 AM, Willem jiang <willem.ji...@gmail.com > >wrote: > > > How did you run the build? > > As camel-spring has the test dependency of camel-core test jar, you need > > to install the test.jar when you run the build. > > You need to use "mvn clean install -Dtest=false" from the root to run the > > build. > > > > > > -- > > Willem Jiang > > > > FuseSource > > Web: http://www.fusesource.com (http://www.fusesource.com/) > > Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) > > (English) > > http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) > > Twitter: willemjiang > > Weibo: willemjiang > > > > > > > > On Thursday, August 16, 2012 at 12:42 AM, Joe San wrote: > > > > > [ERROR] Failed to execute goal on project camel-spring: Could not > resolve > > > dependencies for project > > > org.apache.camel:camel-spring:bundle:2.11-SNAPSHOT: Could not find > > artifact > > > org.apache.camel:camel-core:jar:tests:2.11-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 > > > > > > Is this a known issue? I did delete my -m2 cache before I started the > > Camel > > > build. > > > > > > Regards, > > > Jothi > > > > > > > > > -- -- Scott England-Sullivan ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://sully6768.blogspot.com Twitter: sully6768