Adding Java version to pom