Upon reinspecting my POM I have noticed we had left in the http://people.apache.org/maven-snapshot-repository/ repository from when we were trialing the JIRA plugin.
Thanks for the tip about pluginManagement. ----- Original message ----- From: "Brett Porter" <[EMAIL PROTECTED]> To: "Maven Users List" <[email protected]> Date: Mon, 4 Sep 2006 21:59:41 +1000 Subject: Re: Latest surefire plugin failure A couple have reported it. I'm forwarding this on to the dev@ list so that those working on it are aware it is causing problems. Please review my mail the other day on what measures you should take to avoid this. In summary: - don't add the apache.snapshots repository as a plugin repository unless you really love the bleeding edge. - fix the version of plugins that you need to otherwise (eg, add a plugin to pluginManagement for surefire, with version 2.2). HTH, Brett On 04/09/06, Martin Gilday <[EMAIL PROTECTED]> wrote: > I have just fired up maven to run some tests today and it triggered a > large downloading of updated plugins. > I am now getting a null pointer exception from surefire. > > java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/UrlUtils > at > > org.apache.maven.surefire.booter.SurefireBooter.createClassLoader(SurefireBooter.java:599) > at > > org.apache.maven.surefire.booter.SurefireBooter.getTestClassLoader(SurefireBooter.java:569) > at > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:250) > at > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:807) > > Is this a known issue? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Apache Maven - http://maven.apache.org "Better Builds with Maven" book - http://library.mergere.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]
