Added java version to pom.xml