I have got an Opensource C++ project with a Java module to create a JNI binding to C++ . I have successfully built the C++ library on Centos and built the Java module with Maven2 on Centos. But I am trying to do the same on Windows. The C++ library built successfully on windows. And the java module compiles file. But the unit testing with surefire fails. Please start your project with I KNOW MAVEN to consider your bid.