Changing POM to compile using 1.8