Added maven-compiler-plugin to pom to ensure compiling with java 6