Added java version to pom.xml-s