Specify Java version and file encoding in POM