> With JUnit everthing is perfekt on Linux and Windows. With Maven it What version of JUnit and how are you calling it?
> works perfekt under Linux, but fails sometimes under Windows 7 64. What is the failure under Windows? Can you add code to trap that error and report the details? Do you have any idea why it fails sometimes but not always? > I know there is an issue with file handling on Windows that does not > exists on Linux, but wondering that JUnit do the trick and Maven don't > do it (sometimes). > Does anyone knows a solution, if it is a Maven problem? For good measure, I'd suggest adding config to your pom to specify the Surefire version: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.12</version> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit47</artifactId> <version>2.12</version> </dependency> </dependencies> </plugin> </plugins> </build> Windows is annoying for reasons like this so I try to stay on OSX and Linux whenever possible. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org