fixed typo for older versions of java/maven