Reformated pom.xml and pointed to compiler version 1.7