Added compiler-plugin to maven pom.