I have multi module projects. All my tests were passed under JDK 7. But when I upgraded to JDK 8, the maven surefire run twice (it run twices in JDK 7 as well). The first test passed but the second one failed.I have multi module projects. All my tests were