fix pom version issues and set version of maven-compiler-plugin