Return-Path: Delivered-To: apmail-maven-doxia-dev-archive@www.apache.org Received: (qmail 17084 invoked from network); 2 Aug 2007 17:44:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Aug 2007 17:44:41 -0000 Received: (qmail 74249 invoked by uid 500); 2 Aug 2007 17:44:40 -0000 Delivered-To: apmail-maven-doxia-dev-archive@maven.apache.org Received: (qmail 74234 invoked by uid 500); 2 Aug 2007 17:44:40 -0000 Mailing-List: contact doxia-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: doxia-dev@maven.apache.org Delivered-To: mailing list doxia-dev@maven.apache.org Received: (qmail 74225 invoked by uid 99); 2 Aug 2007 17:44:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 10:44:40 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [82.209.166.4] (HELO smtp.bredband2.net) (82.209.166.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 17:44:15 +0000 Received: (qmail 26616 invoked from network); 2 Aug 2007 17:40:24 -0000 Received: from me-24-111-233-83.3.cust.bredband2.com (HELO [192.168.0.3]) ([83.233.111.24]) (envelope-sender ) by smtp.bredband2.net (qmail-ldap-1.03) with SMTP for ; 2 Aug 2007 17:40:24 -0000 Message-ID: <46B217E9.70706@apache.org> Date: Thu, 02 Aug 2007 19:44:09 +0200 From: Dennis Lundberg User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: doxia-dev@maven.apache.org Subject: Re: svn commit: r561199 - /maven/doxia/doxia-sitetools/trunk/pom.xml References: <20070731002940.351511A981A@eris.apache.org> <9ae367340707310531o5cb21744xe98998f25233b93f@mail.gmail.com> <5D91E828-8B38-4E7C-BC7A-AD581FC404BD@maven.org> In-Reply-To: <5D91E828-8B38-4E7C-BC7A-AD581FC404BD@maven.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jason van Zyl wrote: > > On 31 Jul 07, at 8:31 AM 31 Jul 07, Vincent Siveton wrote: > >> Hi Jason, >> >> I got now this following exception in doxia-site-renderer project. >> > > This is really a testing problem, you are using 2.0.7 and I was using > 2.1 so I didn't notice but the tests are pulling in the new container > when it should be running the tests with the container Maven is using. > > Try the following: > > 1) Install the doxia jars by turning the tests off at first > 2) Update the site plugin, build and install (i updated plexus-utils to > 1.4.5) > 3) Try to generate a site I've stumbled on issues like this one as well. I get test failures for no apparent reason. I followed this, slightly modified, recipe. This is being run from trunks/doxia/doxia/ mvn test test failure! mvn clean mvn install -Dmaven.test.skip=true mvn test tests pass! > > This should work fine. Now go back to doxia and fork the tests so it > spins up a new JVM. This should work but still isn't technically right. > We should just block the container from entering the test classpath > while running in-situ because the older version of Maven can't deal with > methods that have been added in subsequent versions of plexus. I can't > remember if surefire can filter out JARs from the classpath. > > I won't be here during the day but I'll be back tonight and I can check > anything then. I can generate sites, using the site plugin using the new > chain of releases so everything should be fine. > >> Cheers, >> >> Vincent >> >> testRender(org.apache.maven.doxia.siterenderer.DefaultSiteRendererTest) >> Time elapsed: 0.171 sec <<< ERROR! >> java.lang.NoSuchMethodError: >> org.codehaus.plexus.component.repository.ComponentDescriptor.setSource(Ljava/lang/String;)V >> >> at >> org.codehaus.plexus.component.discovery.DefaultComponentDiscoverer.createComponentDescriptors(DefaultComponentDiscoverer.java:68) >> >> at >> org.codehaus.plexus.component.discovery.AbstractComponentDiscoverer.findComponents(AbstractComponentDiscoverer.java:107) >> >> at >> org.codehaus.plexus.container.initialization.ComponentDiscoveryPhase.discoverComponents(ComponentDiscoveryPhase.java:83) >> >> at >> org.codehaus.plexus.container.initialization.ComponentDiscoveryPhase.execute(ComponentDiscoveryPhase.java:45) >> >> at >> org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:900) >> >> at >> org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:844) >> >> at >> org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:820) >> >> at >> org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:204) >> >> at org.codehaus.plexus.PlexusTestCase.setUp(PlexusTestCase.java:94) >> at >> org.apache.maven.doxia.siterenderer.DefaultSiteRendererTest.setUp(DefaultSiteRendererTest.java:66) >> >> >> >> >> 2007/7/30, jvanzyl@apache.org : >>> Author: jvanzyl >>> Date: Mon Jul 30 17:29:39 2007 >>> New Revision: 561199 >>> >>> URL: http://svn.apache.org/viewvc?view=rev&rev=561199 >>> Log: >>> o updating to release of plexus-utils, plexus (the single jar) >>> >> >> [SNIP] > > Thanks, > > Jason > > ---------------------------------------------------------- > Jason van Zyl > Founder and PMC Chair, Apache Maven > jason at sonatype dot com > ---------------------------------------------------------- > > > -- Dennis Lundberg