Hi Kristian, thanks for your quick answer.
a) I've tried a lot of things without success. As you told me, I was looking for hidden JUnit 3 dependency, but have not found any. To check this, I built with -X and scan the stdout for junit3. There are some junit3 test dependencies in some standard maven plugins but I think this does not hurt my build (because I don't build the maven plugins I only use them). You've asked about if it fails, does it always fail on the same set of modules. Yes, it fails always on the same modules but depending of the build (pseudo random) order a module failed on the first build but may work on the second build and it fails on a 3rd module. On some builds the junit classes are not found, on some other builds the mockito classes are not found. But for each module it fails always with the same error if it fails. I've tried to specify the dependencies for junit/mockito directly in the modules pom, even I've specified it in the projects root pom. Without success. Additionally I've played around with older versions of the surefire plugin (beginning from version 2.6) and with different settings for the surefire configuration. I've also tried to use older versions of junit (beginning from Junit 4.4). But nothing helps. Sometimes my build works with -T 2 (each 3rd try it works). Without -T option it builds always successfully. With -T 3 it never builds with success. (My project is a multi module project with 170 projects). Do you have any other idea how I may isolate the problem? b) Very interesting, If I don't specify the 4.7 provider explicitly, this problem has gone. Thanks, Frank -- View this message in context: http://maven.40175.n5.nabble.com/surefire-classpath-problems-with-maven-3-parallel-tp3346469p3354341.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]
