add java version in maven