Added maven compiler plugin to pom file.