Add a global build setting for maven-compiler-plugin and maven-resources-plugin to specify Java version and encoding used. This will help IDE such as Eclipse to properly identify the Java version and file encoding.