It is probably the container and container api jars. Take a look at the dependency plugin pom to see how I used the enforcer to detect these and the exclusions to keep them out.
--Brian -----Original Message----- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 11:39 PM To: Maven Developers List Subject: Re: Yoko trunk build error. I suspect it's the surefire plugin, actually (based on it using the new archiver), which in turn pulls in the new plexus-utils - and for some reason that is polluting the resources plugin (no idea how, but I have seen Brian file a similar bug). - Brett On 01/11/2007, at 3:29 AM, Daniel Kulp wrote: > > Actually, it's probably the other way... You have plugin snapshots > turned on: > <pluginRepository> > <id>apache-snapshots</id> > <name>Maven apache plugins snapshot repository</name> > <url>http://people.apache.org/maven-snapshot- > repository</url> > <layout>default</layout> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <updatePolicy>never</updatePolicy> > </releases> > </pluginRepository> > > Thus, you'r probaby getting SNAPSHOT versions of various plugins > that may > or may not be working. > > I would suggest removing that. > > Either that, or lock down the resources plugin to the latest release > version. > > Dan > > > > On Wednesday 31 October 2007, John Casey wrote: >> Just a guess, but you may be using an old version of the resource >> plugin. It looks like it's using but not declaring a direct >> dependency on plexus-utils, and if/when maven ceases to export that >> dependency to the plugin as part of the parent classloader, it fails. >> >> Again, just a guess. >> >> -john >> >> On Oct 31, 2007, at 11:18 AM, Alan D. Cabrera wrote: >>> Does anyone in maven-land know why we have to do this? >>> >>> >>> Regards, >>> Alan >>> >>> On Oct 31, 2007, at 2:11 AM, Rick McGuire wrote: >>>> I finally managed to get this to build, but it wasn't a pretty >>>> process. Here were the steps: >>>> >>>> 1) I upgraded my maven version to 2.0.7. >>>> 2) Attempt to rebuild 2.0.7. This will fail also, but with a >>>> different error. In order to patch things up, you need to attempt >>>> this with 2.0.7 and allow it to fail, otherwise you won't be able >>>> to do step 3). >>>> 3) In the maven repository, go to directory org/codehaus/plexus/ >>>> plexus-archiver and edit the file maven-metadata-central.xml and >>>> add the version <version>1.0-alpha-10-SNAPSHOT</version> to >>>> the list. >>>> 4) Rebuild again...it should work this time. >>>> >>>> Rick >>>> >>>> Lars Kühne wrote: >>>>> Rick McGuire wrote: >>>>>> [INFO] >>>>>> -------------------------------------------------------------- >>>>>> -- ----- >>>>>> [ERROR] FATAL ERROR >>>>>> [INFO] >>>>>> ----------------------------------------------------------------- >>>>>> -- ----- >>>>>> [INFO] org/codehaus/plexus/util/FileUtils$FilterWrapper >>>>>> [INFO] >>>>>> ----------------------------------------------------------------- >>>>>> -- ----- >>>>>> [INFO] Trace >>>>>> java.lang.NoClassDefFoundError: org/codehaus/plexus/util/ >>>>>> FileUtils$FilterWrapper >>>>>> >>>>>> at >>>>>> org.apache.maven.plugin.resources.ResourcesMojo.copyFile >>>>>> (ResourcesMoj >>>>>> o.java:235) >>>>> >>>>> Same here. >>>>> >>>>> Lars >>> >>> -------------------------------------------------------------------- >>> - To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >> >> --- >> John Casey >> Committer and PMC Member, Apache Maven >> mail: jdcasey at commonjava dot org >> blog: http://www.ejlife.net/blogs/john >> rss: http://feeds.feedburner.com/ejlife/john > > > > -- > J. Daniel Kulp > Principal Engineer > IONA > P: 781-902-8727 C: 508-380-7194 > [EMAIL PROTECTED] > http://www.dankulp.com/blog > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Brett Porter - [EMAIL PROTECTED] Blog: http://www.devzuz.org/blogs/bporter/ --------------------------------------------------------------------- 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]