I'm working with the 2.5/trunk checkout and my own build. I've removed all
the code that selects the various junits and hard-coded junit-dep. YET, I
still get junit-3.8.1 in the "Test Classpath". 

So maybe it some other maven-magic that is adding this jar. I have no idea
even where to begin. I'm even considering adding juniit-dep-4.5 in Nexus
under 3.8.1 and 3.8.2 just to trick maven. Did I mention that surefire will
sometimes add 3.8.1 and other times add 3.8.2. 

If I had a buck for ever hour I've wasted trying to fight maven dependency
management to eradicate junit-3.8.1 (read: no global exclude) I wouldn't
have to code anymore.
-- 
View this message in context: 
http://www.nabble.com/How-to-get-surefire-to-use-junit-dep-4.5--tp20091464p20099227.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to