Added java version to maven config