Add java version config in pom.xml