You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Gilday <ma...@imap.cc> on 2006/09/04 13:57:28 UTC
Latest surefire plugin failure
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Latest surefire plugin failure
Posted by Martin Gilday <ma...@imap.cc>.
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" <br...@gmail.com>
To: "Maven Users List" <us...@maven.apache.org>
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 <ma...@imap.cc> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Latest surefire plugin failure
Posted by Brett Porter <br...@gmail.com>.
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 <ma...@imap.cc> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Fwd: Latest surefire plugin failure
Posted by Emmanuel Venisse <em...@venisse.net>.
It's fixed now. surefire-api snapshot wasn't deployed.
Emmanuel
Brett Porter a écrit :
> ---------- Forwarded message ----------
> From: Martin Gilday <ma...@imap.cc>
> Date: 04-Sep-2006 21:57
> Subject: Latest surefire plugin failure
> To: users@maven.apache.org
>
>
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Fwd: Latest surefire plugin failure
Posted by Brett Porter <br...@gmail.com>.
---------- Forwarded message ----------
From: Martin Gilday <ma...@imap.cc>
Date: 04-Sep-2006 21:57
Subject: Latest surefire plugin failure
To: users@maven.apache.org
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
--
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org