Added maven-compiler-plugin to ensure build compatibility with Travis CI.