upgraded dependencies and removed compiler warnings
java version set to 1.7