:o) I just spent 5 hours on this... Problem is we are not exactly sure what we did to solve it, as there were many small things going on at the same time.
1. Make sure you don't have MAVEN_HOME set, and MAVEN_HOME_LOCAL not set. Either both set or non set. 2. Remove $MAVEN_HOME/repository and $USER/.maven/repository 3. Do a cd avalon cvs -q update -dP ant clean ant main This should fix your issue. Let me known what happens. Niclas On Thursday 11 December 2003 01:30, David Le Strat wrote: > I am trying to build from the latest CVS head and am > getting the following error when building Merlin. The > CLI test case triggers an error. As anybody else > experienced this? > > Regards, > > David Le Strat. > _____________________________ > > test:test: > [junit] dir attribute ignored if running in the > same VM > [junit] Running > org.apache.avalon.merlin.cli.test.MerlinCLITestCase > ---- exception report > ---------------------------------------------------------- > Exception: org.apache.avalon.merlin.KernelException > Message: Target override assignment failure. > ---- cause > --------------------------------------------------------------------- > Exception: java.lang.NoSuchMethodError > Message: > org.apache.avalon.composition.model.ContainmentModel.applyTargets(Ljava/net >/URL;)V ---- stack trace > --------------------------------------------------------------- > java.lang.NoSuchMethodError: > org.apache.avalon.composition.model.ContainmentModel.applyTargets(Ljava/net >/URL;)V > org.apache.avalon.merlin.impl.DefaultFactory.create(DefaultFactory.java:408 >) org.apache.avalon.merlin.cli.Main.<init>(Main.java:321) > org.apache.avalon.merlin.cli.Main.main(Main.java:272) > org.apache.avalon.merlin.cli.test.MerlinCLITestCase.testMain(MerlinCLITestC >ase.java:110) sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 >9) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp >l.java:25) java.lang.reflect.Method.invoke(Method.java:324) > junit.framework.TestCase.runTest(TestCase.java:154) > junit.framework.TestCase.runBare(TestCase.java:127) > junit.framework.TestResult$1.protect(TestResult.java:106) > > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
