Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 14337 invoked from network); 27 Dec 2006 22:19:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Dec 2006 22:19:02 -0000 Received: (qmail 89288 invoked by uid 500); 27 Dec 2006 22:19:08 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 88705 invoked by uid 500); 27 Dec 2006 22:19:07 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 88694 invoked by uid 99); 27 Dec 2006 22:19:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Dec 2006 14:19:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jason.dillon@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Dec 2006 14:18:56 -0800 Received: by ug-out-1314.google.com with SMTP id m2so5015637ugc for ; Wed, 27 Dec 2006 14:18:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=KIuFf3oS3nQvWPeb50B4kk7NJ0rRnKDEzBlG/sMg4AsWAkuEZGBY1k/vJJft2drueYRuinFLL/aYhXD8E8DsiHEyzfHuWaF3OflGOiO60ricexJ6SwdiPa9MDJzUj5BQbthv0icaPGL7VNd0AhvtjFQNHfKtkl1MLcuh6TW8ZIs= Received: by 10.78.39.16 with SMTP id m16mr168800hum.1167257913801; Wed, 27 Dec 2006 14:18:33 -0800 (PST) Received: from ?10.0.1.3? ( [24.7.69.241]) by mx.google.com with ESMTP id 15sm16821960hui.2006.12.27.14.18.32; Wed, 27 Dec 2006 14:18:33 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <2B922EFA-DB82-4757-90ED-E2BB46B0A99B@gmail.com> References: <83A50FD5-B835-4A5B-9935-0DDD51125CFE@planet57.com> <2B922EFA-DB82-4757-90ED-E2BB46B0A99B@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jason Dillon Subject: Re: Trunk build failure: NoClassDefFoundError: javax/xml/stream/XMLStreamException Date: Wed, 27 Dec 2006 14:18:54 -0800 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) Sender: Jason Dillon X-Virus-Checked: Checked by ClamAV on apache.org Thanks Kevan for looking into this. This is one of the big issues I have with mvn and SNAPSHOT artifacts... other peoples projects can break your projects build with out any notice, no change log, and in many cases hours of someone debugging a build to figure it out. Perhaps we should simply not use *any* SNAPSHOT artifacts anymore? And only use timestamp-build artifacts when non-released (snapshot deployed) artifacts need to be consumed. The chances of those *just changing* and breaking things are slimmer... though the chance of them disappearing from a repo are much higher. We could always fix that by finally setting up our own repo in svn, maybe here for now: https://svn.apache.org/repos/asf/geronimo/repository Might hold anywhere from 50-100 megs of artifacts to support a Geronimo Server build. And we could probably just start out with some of the more risky artifacts, like this timestamp-build artifact (and move over the local repos that are in the server/trunk build). Though eventually it would be nice to simply be able to prime the local repo and build offline: svn co https://svn.apache.org/repos/asf/geronimo/repository cp -r repository/* ~/.m2/repository svn co https://svn.apache.org/repos/asf/geronimo/server/trunk server cd server mvn -o Though I'm not sure if the current ASF httpd config for svn.apache.org will handle this well. I know that its possible to setup httpd+svn to behave optimally for this, just not sure that the ASF config asis will or not. --jason On Dec 27, 2006, at 9:33 AM, Kevan Miller wrote: > > On Dec 26, 2006, at 6:55 PM, Jason Dillon wrote: > >> I've run the server/trunk build twice on JDK 1.5 twice from a >> clean repo, both times it fails here: >> >> >> [INFO] >> --------------------------------------------------------------------- >> ------- >> [INFO] Building Geronimo :: Service :: Builder >> [INFO] task-segment: [install] >> [INFO] >> --------------------------------------------------------------------- >> ------- >> [INFO] snapshot org.codehaus.mojo:xmlbeans-maven-plugin:2.0.1- >> SNAPSHOT: checking for updates from apache-snapshots >> [INFO] snapshot org.codehaus.mojo:xmlbeans-maven-plugin:2.0.1- >> SNAPSHOT: checking for updates from codehaus-snapshots >> [INFO] snapshot org.codehaus.mojo:xmlbeans-maven-plugin:2.0.1- >> SNAPSHOT: checking for updates from apache.snapshots >> Downloading: http://snapshots.repository.codehaus.org/org/codehaus/ >> mojo/xmlbeans-maven-plugin/2.0.1-SNAPSHOT/xmlbeans-maven- >> plugin-2.0.1-20061223.141616-9.pom >> 5K downloaded >> Downloading: http://repository.codehaus.org/org/codehaus/mojo/mojo/ >> 11/mojo-11.pom >> 7K downloaded >> Downloading: http://snapshots.repository.codehaus.org/org/codehaus/ >> mojo/xmlbeans-maven-plugin/2.0.1-SNAPSHOT/xmlbeans-maven- >> plugin-2.0.1-20061223.141616-9.jar >> 30K downloaded >> [INFO] [tools:require-java-version {execution: validate-java- >> version}] >> [INFO] [xmlbeans:xmlbeans {execution: default}] >> [INFO] >> --------------------------------------------------------------------- >> --- >> [ERROR] FATAL ERROR >> [INFO] >> --------------------------------------------------------------------- >> --- >> [INFO] javax/xml/stream/XMLStreamException >> [INFO] >> --------------------------------------------------------------------- >> --- >> [INFO] Trace >> java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException >> at java.lang.Class.getDeclaredMethods0(Native Method) >> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) >> at java.lang.Class.getMethod0(Class.java:2642) >> at java.lang.Class.getMethod(Class.java:1579) >> at org.apache.xmlbeans.XmlBeans.buildMethod(XmlBeans.java:174) >> at org.apache.xmlbeans.XmlBeans.buildNodeMethod(XmlBeans.java:195) >> at org.apache.xmlbeans.XmlBeans.buildNodeToCursorMethod >> (XmlBeans.java:232) >> at org.apache.xmlbeans.XmlBeans.(XmlBeans.java:131) >> at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase. >> (SchemaTypeLoaderBase.java:64) >> at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile >> (SchemaCompiler.java:1063) >> at org.codehaus.mojo.xmlbeans.AbstractXmlBeansPlugin.execute >> (AbstractXmlBeansPlugin.java:270) >> at org.apache.maven.plugin.DefaultPluginManager.executeMojo >> (DefaultPluginManager.java:412) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals >> (DefaultLifecycleExecutor.java:534) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi >> fecycle(DefaultLifecycleExecutor.java:475) >> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal >> (DefaultLifecycleExecutor.java:454) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan >> dleFailures(DefaultLifecycleExecutor.java:306) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen >> ts(DefaultLifecycleExecutor.java:273) >> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute >> (DefaultLifecycleExecutor.java:140) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke >> (NativeMethodAccessorImpl.java:39) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke >> (DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: >> 315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at org.codehaus.classworlds.Launcher.mainWithExitCode >> (Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> > > I get the same error trying to build openejb/trunk/openejb2. > > I see there's a recently updated maven plugin that is likely to be > the cause (or at least related). I'm picking up the following > snapshot when I build: > > Downloading: http://snapshots.repository.codehaus.org/org/codehaus/ > mojo/xmlbeans-maven-plugin/2.0.1-SNAPSHOT/xmlbeans-maven- > plugin-2.0.1-20061223.141616-9.jar > > Matt says that his build works by setting the version for the > plugin to 2.0.1-20060627.031204-7 > > --kevan