converted project to java 8 with maven