I had this problem and resolved it by placing an explicit dependency on
JUnit.  It seems that something in one of the other plugins I have been
using had a reference to JUnit which made everything work right.  The
updated plugins removed that indirect reference and caused the problem.

-----Original Message-----
From: Morgan Rachell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 25, 2006 14:49
To: [email protected]
Subject: [m2] No Java test frameworks found?



I had setup my project a few weeks ago and was running 'mvn install'
(with
JUnit tests, etc.) without problems. Someone new just joined my project
and
just did a 'mvn install', which first downloaded all plugins and
dependencies, but then he got this error:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] No Java test frameworks found
[INFO]
------------------------------------------------------------------------

We can reproduce the error with just a 'mvn test' command too.

I noticed that his download was getting maven-surefire-plugin version
2.2. I
was unable to duplicate the problem on my machine because I had version
2.1.3 of the plugin. When I deleted version 2.1.3 from local repository
(actually, I foolishly deleted my entire local repo!) I got the same
error.
Now we're stuck and cannot get past this error.

I should also mention that we use a mirror pointing to
http://repo.mergere.com/maven2. It's much faster than ibiblio.

Has anyone else experienced this problem or know how to get past it?

Thanks,
Morgan

--
View this message in context:
http://www.nabble.com/-m2-+No+Java+test+frameworks+found--t1682690.html#
a4564033
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to